senddata.cpp: fix missing }

This commit is contained in:
cyberman54 2022-11-06 15:16:28 +01:00
parent 4015e9e989
commit e5cc72fb1c

View File

@ -96,9 +96,8 @@ void sendData() {
#if !(PAYLOAD_OPENSENSEBOX) #if !(PAYLOAD_OPENSENSEBOX)
payload.addCount(count.wifi_count, MAC_SNIFF_WIFI); payload.addCount(count.wifi_count, MAC_SNIFF_WIFI);
if (cfg.blescan) { if (cfg.blescan)
payload.addCount(count.ble_count, MAC_SNIFF_BLE); payload.addCount(count.ble_count, MAC_SNIFF_BLE);
}
#endif #endif
#if (HAS_GPS) #if (HAS_GPS)
@ -114,7 +113,7 @@ void sendData() {
#if (PAYLOAD_OPENSENSEBOX) #if (PAYLOAD_OPENSENSEBOX)
payload.addCount(count.wifi_count, MAC_SNIFF_WIFI); payload.addCount(count.wifi_count, MAC_SNIFF_WIFI);
if (cfg.blescan) { if (cfg.blescan)
payload.addCount(count.ble_count, MAC_SNIFF_BLE); payload.addCount(count.ble_count, MAC_SNIFF_BLE);
#endif #endif