small code improvements
This commit is contained in:
parent
8e4abfa90f
commit
19ddbc4113
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user