- glcd: fix rec/ts icon handling ...

Maybe it's a good idea to handle all the glcd-icons directly in glcd code.

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2020-07-02 23:38:23 +02:00
committed by Thilo Graf
parent c4c6b32197
commit 354e1971e3
2 changed files with 18 additions and 10 deletions

View File

@@ -307,16 +307,6 @@ record_error_msg_t CRecordInstance::Start(CZapitChannel * channel)
CCamManager::getInstance()->Start(channel->getChannelID(), CCamManager::RECORD);
//CVFD::getInstance()->ShowIcon(VFD_ICON_CAM1, true);
#ifdef ENABLE_GRAPHLCD
if (CRecordManager::getInstance()->GetRecordMode() == CRecordManager::RECMODE_REC)
cGLCD::lockIcon(cGLCD::REC);
else if (CRecordManager::getInstance()->GetRecordMode() == CRecordManager::RECMODE_TSHIFT)
cGLCD::lockIcon(cGLCD::TS);
else if (CRecordManager::getInstance()->GetRecordMode() == CRecordManager::RECMODE_REC_TSHIFT) {
cGLCD::lockIcon(cGLCD::REC);
cGLCD::lockIcon(cGLCD::TS);
}
#endif
WaitRecMsg(msg_start_time, 2);
hintBox.hide();
return RECORD_OK;