pick graphlcd support from DDT but include it in another way

Origin commit data
------------------
Commit: 3093f50831
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-10-26 (Sat, 26 Oct 2019)

Origin message was:
------------------
- pick graphlcd support from DDT but include it in another way
This commit is contained in:
vanhofen
2019-10-26 22:37:38 +02:00
parent 0c17932197
commit b0dbd6f602
27 changed files with 1827 additions and 39 deletions

View File

@@ -50,7 +50,7 @@
#include <system/helpers.h>
#include <system/hddstat.h>
#include <driver/display.h>
#include <driver/record.h>
#include <driver/radiotext.h>
#include <driver/streamts.h>
@@ -1117,6 +1117,9 @@ bool CRecordManager::Record(const CTimerd::RecordingInfo * const eventinfo, cons
t_channel_id live_channel_id = CZapit::getInstance()->GetCurrentChannelID();
if(eventinfo->channel_id == live_channel_id)
recordingstatus = 1;
#endif
#ifdef ENABLE_GRAPHLCD
nGLCD::Update();
#endif
} else {
delete inst;
@@ -1322,6 +1325,9 @@ bool CRecordManager::Stop(const CTimerd::RecordingStopInfo * recinfo)
if(inst != NULL && recinfo->eventID == inst->GetRecordingId()) {
StopInstance(inst, false);
ret = true;
#ifdef ENABLE_GRAPHLCD
nGLCD::Update();
#endif
} else {
for(nextmap_iterator_t it = nextmap.begin(); it != nextmap.end(); it++) {
if((*it)->eventID == recinfo->eventID) {