From b3090d0d6b9bd781c52922cb466970e153395158 Mon Sep 17 00:00:00 2001 From: Stefan Kremser Date: Sun, 1 Apr 2018 12:34:04 +0200 Subject: [PATCH] Scan with SimpleList --- esp8266_deauther/Scan.cpp | 2 +- esp8266_deauther/Scan.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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