small code improvements

This commit is contained in:
Klaus K Wilting 2018-03-30 21:37:51 +02:00
parent 8e4abfa90f
commit 19ddbc4113
3 changed files with 1 additions and 3 deletions

View File

@ -218,7 +218,6 @@ void wifi_sniffer_loop(void * pvParameters) {
// clear counter if not in cumulative counter mode // clear counter if not in cumulative counter mode
if (cfg.countermode != 1) { if (cfg.countermode != 1) {
//macs.erase(macs.begin(), macs.end()); // clear RAM
macs.clear(); // clear macs container macs.clear(); // clear macs container
macnum = 0; macnum = 0;
u8x8.clearLine(0); u8x8.clearLine(1); // clear Display counter u8x8.clearLine(0); u8x8.clearLine(1); // clear Display counter

View File

@ -1,5 +1,5 @@
// program version // 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" #define PROGNAME "PAXCNT"
// Verbose enables serial output // Verbose enables serial output

View File

@ -67,7 +67,6 @@ void set_reset(int val) {
break; break;
case 1: // reset MAC counter case 1: // reset MAC counter
ESP_LOGI(TAG, "Remote command: reset MAC counter"); ESP_LOGI(TAG, "Remote command: reset MAC counter");
//macs.erase(macs.begin(), macs.end()); // clear RAM
macs.clear(); // clear macs container macs.clear(); // clear macs container
macnum = 0; macnum = 0;
u8x8.clearLine(0); u8x8.clearLine(1); // clear Display counter u8x8.clearLine(0); u8x8.clearLine(1); // clear Display counter