NI-code: Rename hardware defined macros for coolstream stb

Origin commit data
------------------
Branch: ni/coolstream
Commit: f02c3dc1db
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-02-12 (Sun, 12 Feb 2017)

Origin message was:
------------------
- NI-code: Rename hardware defined macros for coolstream stb

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-02-12 21:57:06 +01:00
parent 4ac4e963ad
commit b9b5808928
8 changed files with 13 additions and 13 deletions

View File

@@ -415,7 +415,7 @@ int CImageInfoNI::get_MTD_Info()
if (!(fh=fopen("/proc/mtd", "r")))
return false;
#ifdef BOXMODEL_APOLLO
#ifdef BOXMODEL_CS_HD2
std::string sysfs = get_systemRoot();
#else
std::string sysfs = "systemFS";
@@ -574,7 +574,7 @@ void CImageInfoNI::get_DF_Info()
if (!(pipe_reader = popen ("df", "r")))
printf("[read_df] popen error\n" );
#ifdef BOXMODEL_APOLLO
#ifdef BOXMODEL_CS_HD2
strcpy(mtd_info[systemfs].dev, ("mtd:"+get_systemRoot()).c_str());
#endif
@@ -832,7 +832,7 @@ void CImageInfoNI::paint_NET_Info(int posx, int posy)
* 13107200 Byte
* 104857600 Bit
*/
#ifdef BOXMODEL_APOLLO
#ifdef BOXMODEL_CS_HD2
int max_bit = 104857600; /* Shiner, Kronos */
if (cs_get_revision() == 9)
max_bit = 1073741824; /* Apollo */