From f15ca61cba889de68198d44943aa09a74c5e8ed3 Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 7 Mar 2021 21:33:34 +0100 Subject: [PATCH] fix lint error --- src/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system.cpp b/src/system.cpp index 5f00160ff..4c2608b93 100644 --- a/src/system.cpp +++ b/src/system.cpp @@ -195,7 +195,7 @@ void System::wifi_tweak() { // WIFI_POWER_2dBm = 8,// 2dBm // WIFI_POWER_MINUS_1dBm = -4// -1dBm wifi_power_t p1 = WiFi.getTxPower(); - bool pok = WiFi.setTxPower(WIFI_POWER_19_5dBm); + (void) WiFi.setTxPower(WIFI_POWER_19_5dBm); wifi_power_t p2 = WiFi.getTxPower(); bool s1 = WiFi.getSleep(); WiFi.setSleep(false); // turn off sleep - WIFI_PS_NONE