X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fgdi%2Flcd.cpp;fp=lib%2Fgdi%2Flcd.cpp;h=794e9ab11d4f22f071fa7a42aa491f399b1e0929;hp=6e97179dcafa26e241f69903cfde072b0de75c76;hb=1d10d4a489d6700c942d00358822728390f8fcd7;hpb=fea71024e5393408451abb3b6a640f38c7651851 diff --git a/lib/gdi/lcd.cpp b/lib/gdi/lcd.cpp index 6e97179..794e9ab 100755 --- a/lib/gdi/lcd.cpp +++ b/lib/gdi/lcd.cpp @@ -124,28 +124,6 @@ void eDBoxLCD::setInverted(unsigned char inv) update(); } -void eDBoxLCD::setLED(int value, int option) -{ - switch(option) - { - case LED_BRIGHTNESS: - ioctl(lcdfd, LED_IOCTL_BRIGHTNESS_NORMAL, (unsigned char)value); - break; - case LED_DEEPSTANDBY: - ioctl(lcdfd, LED_IOCTL_BRIGHTNESS_DEEPSTANDBY, (unsigned char)value); - break; - case LED_BLINKINGTIME: - ioctl(lcdfd, LED_IOCTL_BLINKING_TIME, (unsigned char)value); - break; - } -} - -void eDBoxLCD::setLEDDefault(int normal, int deepstandby, int blinktime) -{ - int value = (blinktime << 16) + (deepstandby << 8) + normal; - ioctl(lcdfd, LED_IOCTL_SET_DEFAULT, value); -} - int eDBoxLCD::setLCDContrast(int contrast) { #ifndef NO_LCD