mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-13 00:13:37 +02:00
Merge branch 'uncool/dvbsi++' commit '626f1aabc0a'
...needs buildfixing...
Conflicts:
data/Makefile.am
src/driver/volume.cpp
src/gui/infoviewer.cpp
src/gui/miscsettings_menu.cpp
src/gui/movieplayer.cpp
src/gui/scan.cpp
src/gui/widget/buttons.cpp
src/gui/widget/menue.cpp
src/gui/widget/stringinput.cpp
src/neutrino.cpp
src/nhttpd/tuxboxapi/coolstream/controlapi.cpp
src/system/setting_helpers.cpp
src/zapit/src/capmt.cpp
Origin commit data
------------------
Commit: 7e23ac7223
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-11-03 (Sat, 03 Nov 2012)
This commit is contained in:
@@ -73,8 +73,10 @@ CVFD::CVFD()
|
||||
|
||||
CVFD::~CVFD()
|
||||
{
|
||||
if(fd > 0)
|
||||
if(fd > 0){
|
||||
close(fd);
|
||||
fd = -1;
|
||||
}
|
||||
}
|
||||
|
||||
CVFD* CVFD::getInstance()
|
||||
@@ -678,7 +680,7 @@ void CVFD::Clear()
|
||||
|
||||
void CVFD::ShowIcon(vfd_icon icon, bool show)
|
||||
{
|
||||
if(!has_lcd) return;
|
||||
if(!has_lcd || fd < 0) return;
|
||||
//printf("CVFD::ShowIcon %s %x\n", show ? "show" : "hide", (int) icon);
|
||||
int ret = ioctl(fd, show ? IOC_VFD_SET_ICON : IOC_VFD_CLEAR_ICON, icon);
|
||||
if(ret < 0)
|
||||
|
Reference in New Issue
Block a user