mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
TRIPLEDRAGON: deleted
Origin commit data
------------------
Branch: ni/coolstream
Commit: b4bab59f38
Author: max_10 <max_10@gmx.de>
Date: 2020-10-03 (Sat, 03 Oct 2020)
Origin message was:
------------------
- TRIPLEDRAGON: deleted
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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