From 19ddbc4113816e048ed56ba64ae3d233fed5bc14 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Fri, 30 Mar 2018 21:37:51 +0200 Subject: [PATCH] small code improvements --- src/main.cpp | 1 - src/main.h | 2 +- src/rcommand.cpp | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 87f005b8..adc4109e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -218,7 +218,6 @@ void wifi_sniffer_loop(void * pvParameters) { // clear counter if not in cumulative counter mode if (cfg.countermode != 1) { - //macs.erase(macs.begin(), macs.end()); // clear RAM macs.clear(); // clear macs container macnum = 0; u8x8.clearLine(0); u8x8.clearLine(1); // clear Display counter diff --git a/src/main.h b/src/main.h index f67605d3..d7b41626 100644 --- a/src/main.h +++ b/src/main.h @@ -1,5 +1,5 @@ // program version -#define PROGVERSION "1.2.51" // use max 10 chars here! +#define PROGVERSION "1.2.52" // use max 10 chars here! #define PROGNAME "PAXCNT" // Verbose enables serial output diff --git a/src/rcommand.cpp b/src/rcommand.cpp index de62bbde..0832f066 100644 --- a/src/rcommand.cpp +++ b/src/rcommand.cpp @@ -67,7 +67,6 @@ void set_reset(int val) { break; case 1: // reset MAC counter ESP_LOGI(TAG, "Remote command: reset MAC counter"); - //macs.erase(macs.begin(), macs.end()); // clear RAM macs.clear(); // clear macs container macnum = 0; u8x8.clearLine(0); u8x8.clearLine(1); // clear Display counter