SerialInterface with SimpleList

This commit is contained in:
Stefan Kremser
2018-04-01 12:34:15 +02:00
parent b3090d0d6b
commit d8689f56f3
2 changed files with 3 additions and 2 deletions

View File

@@ -12,7 +12,7 @@
*/
SerialInterface::SerialInterface() {
list = new LinkedList<String>;
list = new SimpleList<String>;
}
void SerialInterface::load() {

View File

@@ -21,6 +21,7 @@ extern "C" {
#include "RGBLed.h"
#include "Neopixel.h"
#include "A_config.h"
#include "SimpleList.h"
#ifdef DIGITAL_LED
extern DigitalLed led;
@@ -77,7 +78,7 @@ class SerialInterface {
private:
bool enabled;
LinkedList<String>* list;
SimpleList<String>* list;
bool executing = false;
bool continuously = false;
uint32_t continueTime = 0;