mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
lcdd: fix compiler warnings on Tripledragon
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1827 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -323,7 +323,7 @@ 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)
|
||||
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)
|
||||
@@ -853,7 +853,6 @@ void CLCD::setMode(const MODES m, const char * const title)
|
||||
mode = m;
|
||||
menutitle = title;
|
||||
setlcdparameter();
|
||||
int x = 2;
|
||||
|
||||
switch (m)
|
||||
{
|
||||
@@ -1016,9 +1015,9 @@ int CLCD::getInverse()
|
||||
return g_settings.lcd_setting[SNeutrinoSettings::LCD_INVERSE];
|
||||
}
|
||||
|
||||
#ifdef HAVE_DBOX_HARDWARE
|
||||
void CLCD::setAutoDimm(int autodimm)
|
||||
{
|
||||
#ifdef HAVE_DBOX_HARDWARE
|
||||
int fd;
|
||||
g_settings.lcd_setting[SNeutrinoSettings::LCD_AUTODIMM] = autodimm;
|
||||
|
||||
@@ -1035,8 +1034,12 @@ void CLCD::setAutoDimm(int autodimm)
|
||||
|
||||
close(fd);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#else
|
||||
void CLCD::setAutoDimm(int /*autodimm*/)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
int CLCD::getAutoDimm()
|
||||
{
|
||||
|
Reference in New Issue
Block a user