- TRIPLEDRAGON: deleted

Conflicts:
	lib/libdvbsub/dvbsub.cpp
	src/system/flashtool.cpp
This commit is contained in:
max_10
2020-10-03 22:47:34 +02:00
committed by Thilo Graf
parent fa91372706
commit 1fa824cab3
26 changed files with 22 additions and 637 deletions

View File

@@ -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)
{