- 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
This commit is contained in:
micha-bbg
2011-11-05 13:44:38 +00:00
parent af296c6548
commit 27690fb7a0

View File

@@ -31,6 +31,7 @@
#include <global.h>
#include <neutrino.h>
#include <system/settings.h>
#include <driver/record.h>
#include <fcntl.h>
#include <sys/timeb.h>
@@ -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*/)