mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- TRIPLEDRAGON: deleted
Conflicts: lib/libdvbsub/dvbsub.cpp src/system/flashtool.cpp
This commit is contained in:
@@ -309,7 +309,6 @@ void CLCD::displayUpdate()
|
||||
display.update();
|
||||
}
|
||||
|
||||
#ifndef HAVE_TRIPLEDRAGON
|
||||
void CLCD::setlcdparameter(int dimm, const int contrast, const int power, const int inverse, const int bias)
|
||||
{
|
||||
#if defined HAVE_DBOX_HARDWARE || defined HAVE_DREAMBOX_HARDWARE || defined HAVE_IPBOX_HARDWARE
|
||||
@@ -367,23 +366,6 @@ void CLCD::setlcdparameter(int dimm, const int contrast, const int power, const
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#else
|
||||
void CLCD::setlcdparameter(int /*dimm*/, const int contrast, const int /*power*/, const int inverse, const int /*bias*/)
|
||||
{
|
||||
int fd = open("/dev/" DEVICE_NAME_LCD, O_RDWR);
|
||||
if (fd < 0)
|
||||
{
|
||||
perror("CLCD::setlcdparameter open " DEVICE_NAME_LCD);
|
||||
return;
|
||||
}
|
||||
if (ioctl(fd, IOC_LCD_INVERS, inverse & 1) < 0)
|
||||
perror("CLCD::setlcdparameter ioctl IOC_LCD_INVERS");
|
||||
if (ioctl(fd, IOC_LCD_POTI, contrast) < 0)
|
||||
perror("CLCD::setlcdparameter ioctl IOC_LCD_POTI");
|
||||
|
||||
close(fd);
|
||||
}
|
||||
#endif
|
||||
|
||||
void CLCD::setlcdparameter(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user