Kontrola, zda je zadany frame indexem.
This commit is contained in:
parent
8d848fd28e
commit
22cd8ef1e0
@ -383,4 +383,13 @@ void OLEDUIPlus::setOnCb(oledon olon)
|
||||
_oledon = olon;
|
||||
}
|
||||
|
||||
bool OLEDUIPlus::isMainFrame(uint8_t idx)
|
||||
{
|
||||
bool retval = false;
|
||||
|
||||
if (idx == _mainFrame)
|
||||
retval = true;
|
||||
return retval;
|
||||
}
|
||||
|
||||
OLEDUIPlus ui;
|
||||
|
@ -62,6 +62,7 @@ public:
|
||||
bool isVisible(void);
|
||||
void setOffCb(oledoff oloff);
|
||||
void setOnCb(oledon olon);
|
||||
bool isMainFrame(uint8_t idx);
|
||||
|
||||
#if defined(USE_OTA)
|
||||
void OTAStart(void);
|
||||
|
Loading…
Reference in New Issue
Block a user