- remove unused g_info.box_Type

This commit is contained in:
svenhoefer
2017-03-19 01:04:48 +01:00
parent 4f202b19d6
commit 233886df8d
2 changed files with 2 additions and 1 deletions

View File

@@ -341,6 +341,7 @@ void CLCD::setlcdparameter(int dimm, const int contrast, const int power, const
perror("[lcdd] set invert failed!"); perror("[lcdd] set invert failed!");
} }
#if 0
if (g_info.box_Type == CControld::TUXBOX_MAKER_PHILIPS) if (g_info.box_Type == CControld::TUXBOX_MAKER_PHILIPS)
{ {
if (ioctl(fd, LCD_IOCTL_BIAS, &bias) < 0) if (ioctl(fd, LCD_IOCTL_BIAS, &bias) < 0)
@@ -348,6 +349,7 @@ void CLCD::setlcdparameter(int dimm, const int contrast, const int power, const
perror("[lcdd] set bias failed!"); perror("[lcdd] set bias failed!");
} }
} }
#endif
close(fd); close(fd);
} }
#endif #endif

View File

@@ -925,7 +925,6 @@ const time_settings_struct_t timing_setting[SNeutrinoSettings::TIMING_SETTING_CO
struct SglobalInfo struct SglobalInfo
{ {
unsigned char box_Type;
delivery_system_t delivery_system; delivery_system_t delivery_system;
hw_caps_t *hw_caps; hw_caps_t *hw_caps;
}; };