diff --git a/esp8266_deauther/Scan.cpp b/esp8266_deauther/Scan.cpp index 86d8208..fa58833 100644 --- a/esp8266_deauther/Scan.cpp +++ b/esp8266_deauther/Scan.cpp @@ -1,7 +1,7 @@ #include "Scan.h" Scan::Scan() { - list = new LinkedList; + list = new SimpleList; } void Scan::sniffer(uint8_t* buf, uint16_t len) { diff --git a/esp8266_deauther/Scan.h b/esp8266_deauther/Scan.h index be1b774..4d3ccee 100644 --- a/esp8266_deauther/Scan.h +++ b/esp8266_deauther/Scan.h @@ -8,6 +8,7 @@ #include "SSIDs.h" #include "Settings.h" #include "language.h" +#include "SimpleList.h" #define SCAN_MODE_OFF 0 #define SCAN_MODE_APS 1 @@ -69,7 +70,7 @@ class Scan { uint16_t deauths = 0; uint16_t packets = 0; private: - LinkedList* list; // packet list + SimpleList* list; // packet list uint32_t sniffTime = SCAN_DEFAULT_TIME; // how long the scan runs uint32_t snifferStartTime = 0; // when the scan started