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*/)