possibility to skip no and do left

This commit is contained in:
2023-09-23 22:03:14 +02:00
parent 341add1deb
commit 79b4cd4018
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -80,6 +80,7 @@ class MenuInformationSites : public MenuControl {
uint8_t countPages;
uint8_t currentPage;
bool noEqualLeft = false;
const uint16_t delay = 5000;
uint32_t lastMillis = 0;
+4
View File
@@ -45,6 +45,10 @@ void MenuInformationSites::left() {
}
void MenuInformationSites::no() {
if (this->noEqualLeft) {
this->left();
return;
}
this->runCommandNo();
this->printMenu();
}