From 0944a56cc29197284823d8ab66fdeee5b953d5f0 Mon Sep 17 00:00:00 2001 From: GlOwl Date: Sun, 5 Jan 2020 22:41:19 +0100 Subject: [PATCH] fixed printing/removing order --- esp8266_deauther/Stations.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/esp8266_deauther/Stations.cpp b/esp8266_deauther/Stations.cpp index aad6c45..a6bcc02 100644 --- a/esp8266_deauther/Stations.cpp +++ b/esp8266_deauther/Stations.cpp @@ -254,9 +254,10 @@ void Stations::deselect(int num) { void Stations::remove(int num) { if (!check(num)) return; - internal_remove(num); prnt(ST_REMOVED_STATION); prntln(num); + + internal_remove(num); changed = true; } @@ -364,4 +365,4 @@ void Stations::internal_removeAll() { free(getTime(i)); } list->clear(); -} \ No newline at end of file +}