From 27690fb7a092e1c4f3f1d8612f6beac701b210a1 Mon Sep 17 00:00:00 2001 From: micha-bbg Date: Sat, 5 Nov 2011 13:44:38 +0000 Subject: [PATCH] - Fix LED/VFD indication in time shift. git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1828 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/driver/vfd.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/driver/vfd.cpp b/src/driver/vfd.cpp index 1e6a9a900..23254754c 100644 --- a/src/driver/vfd.cpp +++ b/src/driver/vfd.cpp @@ -31,6 +31,7 @@ #include #include #include +#include #include #include @@ -294,7 +295,7 @@ void CVFD::showTime(bool force) } } - if (CNeutrinoApp::getInstance ()->recordingstatus) { + if (CRecordManager::getInstance()->RecordingStatus()) { if(clearClock) { clearClock = 0; if(has_lcd) @@ -306,13 +307,13 @@ void CVFD::showTime(bool force) ShowIcon(VFD_ICON_CAM1, true); setled(true);//on } - } else if(clearClock || (recstatus != CNeutrinoApp::getInstance ()->recordingstatus)) { // in case icon ON after record stopped + } else if(clearClock || (recstatus != CRecordManager::getInstance()->RecordingStatus())) { // in case icon ON after record stopped clearClock = 0; if(has_lcd) ShowIcon(VFD_ICON_CAM1, false); setled(); } - recstatus = CNeutrinoApp::getInstance ()->recordingstatus; + recstatus = CRecordManager::getInstance()->RecordingStatus(); } void CVFD::showRCLock(int /*duration*/)