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