From 514e2c6d0513fdf33111b3cb1237a7c8ddb1c916 Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Mon, 16 Apr 2018 00:05:33 +0200 Subject: [PATCH] centralize display writes (part 5) --- src/main.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index ddaa23f6..c6e40bf8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -276,7 +276,6 @@ void sniffer_loop(void * pvParameters) { // duration of one wifi scan loop reached? then send data and begin new scan cycle if ( nloop >= ( (100 / cfg.wifichancycle) * (cfg.wifiscancycle * 2)) +1 ) { - u8x8.setPowerSave(!cfg.screenon); // set display on if enabled nloop=0; channel=0; // reset wifi scan + channel loop counter do_send(&sendjob); // Prepare and execute LoRaWAN data upload vTaskDelay(500/portTICK_PERIOD_MS);