diff --git a/esp8266_deauther/DisplayUI.cpp b/esp8266_deauther/DisplayUI.cpp index 8589ab9..92e7a16 100644 --- a/esp8266_deauther/DisplayUI.cpp +++ b/esp8266_deauther/DisplayUI.cpp @@ -813,7 +813,7 @@ void DisplayUI::goBack() { } void DisplayUI::createMenu(Menu* menu, Menu* parent, std::function build) { - menu->list = new LinkedList; + menu->list = new SimpleList; menu->parentMenu = parent; menu->selected = 0; menu->build = build; diff --git a/esp8266_deauther/DisplayUI.h b/esp8266_deauther/DisplayUI.h index 6f12cd5..d9bc1a4 100644 --- a/esp8266_deauther/DisplayUI.h +++ b/esp8266_deauther/DisplayUI.h @@ -2,7 +2,6 @@ #define DisplayUI_h #include "Arduino.h" -#include "LinkedList.h" #include #include @@ -63,7 +62,7 @@ struct Button { }; struct Menu { - LinkedList* list; + SimpleList* list; Menu* parentMenu; uint8_t selected; std::function build; // function that is executed when button is clicked