removed old update functions
This commit is contained in:
@@ -61,11 +61,6 @@ class MenuInformationSites : public MenuControl {
|
||||
*/
|
||||
void printMenu() override;
|
||||
|
||||
/**
|
||||
* @brief can be called to update shown data
|
||||
*/
|
||||
void update() override;
|
||||
|
||||
protected:
|
||||
bool setCountPages(uint8_t pages);
|
||||
uint8_t getCountPages() const;
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Menu",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"description": "Build page based menus on uCs",
|
||||
"keywords": "menu, page, input",
|
||||
"repository":
|
||||
|
||||
@@ -64,14 +64,6 @@ void MenuInformationSites::printMenu() {
|
||||
this->lastPageNumber = this->currentPage;
|
||||
}
|
||||
|
||||
void MenuInformationSites::update() {
|
||||
if (millis() - this->lastMillis < this->delay) {
|
||||
return;
|
||||
}
|
||||
this->printMenu();
|
||||
this->lastMillis = millis();
|
||||
}
|
||||
|
||||
bool MenuInformationSites::setCountPages(uint8_t pages) {
|
||||
this->countPages = pages;
|
||||
this->currentPage = 0;
|
||||
|
||||
Reference in New Issue
Block a user