mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
Merge remote-tracking branch 'check/next-cc'
needs buildfixing... Conflicts: src/eitd/sectionsd.cpp src/gui/audioplayer.cpp src/gui/bedit/bouqueteditor_channels.cpp src/gui/infoclock.cpp src/gui/infoviewer.cpp src/gui/motorcontrol.cpp src/gui/osd_setup.cpp src/gui/scan.cpp src/gui/scan_setup.cpp src/gui/streaminfo2.cpp src/gui/update.cpp src/gui/widget/progresswindow.cpp src/gui/widget/textbox.cpp src/neutrino.cpp src/zapit/include/zapit/femanager.h
This commit is contained in:
@@ -199,6 +199,16 @@ void CVFD::setled(int led1, int led2){
|
||||
}
|
||||
}
|
||||
|
||||
void CVFD::setBacklight(bool on_off)
|
||||
{
|
||||
if(cs_get_revision() != 9)
|
||||
return;
|
||||
|
||||
int led = on_off ? FP_LED_3_ON : FP_LED_3_OFF;
|
||||
if (ioctl(fd, IOC_FP_LED_CTRL, led) < 0)
|
||||
perror("FP_LED_3");
|
||||
}
|
||||
|
||||
void CVFD::setled(bool on_off)
|
||||
{
|
||||
if(g_settings.led_rec_mode == 0)
|
||||
|
Reference in New Issue
Block a user