From 59f6bc6d280364eb118357e0166bd53cf8676c5b Mon Sep 17 00:00:00 2001 From: nerdyscout Date: Thu, 21 Nov 2019 20:34:54 +0000 Subject: [PATCH] cfg.wifiscan --- src/senddata.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/senddata.cpp b/src/senddata.cpp index 6f910d71..b8e77638 100644 --- a/src/senddata.cpp +++ b/src/senddata.cpp @@ -66,6 +66,7 @@ void sendData() { case COUNT_DATA: payload.reset(); #if !(PAYLOAD_OPENSENSEBOX) + if (cfg.wifiscan) payload.addCount(macs_wifi, MAC_SNIFF_WIFI); if (cfg.blescan) payload.addCount(macs_ble, MAC_SNIFF_BLE); @@ -80,6 +81,7 @@ void sendData() { ESP_LOGD(TAG, "No valid GPS position"); #endif #if (PAYLOAD_OPENSENSEBOX) + if (cfg.wifiscan) payload.addCount(macs_wifi, MAC_SNIFF_WIFI); if (cfg.blescan) payload.addCount(macs_ble, MAC_SNIFF_BLE);