Bug Fix: was not calling into ESP32 non volatile load /save etc - lack of virtual functions!
This commit is contained in:
parent
4f9a77486a
commit
0a6171ae8b
|
@ -132,7 +132,9 @@ CScreenHeader::animate()
|
|||
// UP arrow animation
|
||||
//
|
||||
int yPos = 0;
|
||||
if(_clearUpAnimation) {
|
||||
bool uploadActive = hasWebServerSpoken(true);
|
||||
|
||||
if(_clearUpAnimation && !uploadActive) {
|
||||
// arrow was drawn in the prior iteration, now erase it
|
||||
if(NVstore.getOTAEnabled())
|
||||
_display.fillRect(X_WIFI_ICON +12, Y_WIFI_ICON, 12, 5, BLACK);
|
||||
|
@ -142,7 +144,7 @@ CScreenHeader::animate()
|
|||
retval = true;
|
||||
_clearUpAnimation = false;
|
||||
}
|
||||
else if(hasWebServerSpoken(true)) {
|
||||
else if(uploadActive) {
|
||||
// we have emitted data to the web client, show an UP arrow
|
||||
if(NVstore.getOTAEnabled())
|
||||
_display.fillRect(X_WIFI_ICON +12, Y_WIFI_ICON, 12, 5, BLACK);
|
||||
|
|
|
@ -222,9 +222,9 @@ public:
|
|||
// TODO: These are only here to allow building without fully
|
||||
// fleshing out NV storage for Due, Mega etc
|
||||
// these should be removed once complete (pure virtual)
|
||||
void init() {};
|
||||
void load() {};
|
||||
void save() {};
|
||||
virtual void init() {};
|
||||
virtual void load() {};
|
||||
virtual void save() {};
|
||||
|
||||
|
||||
float getPmin();
|
||||
|
|
Loading…
Reference in a new issue