senddata.cpp: fix missing }
This commit is contained in:
parent
4015e9e989
commit
e5cc72fb1c
@ -96,9 +96,8 @@ void sendData() {
|
||||
|
||||
#if !(PAYLOAD_OPENSENSEBOX)
|
||||
payload.addCount(count.wifi_count, MAC_SNIFF_WIFI);
|
||||
if (cfg.blescan) {
|
||||
if (cfg.blescan)
|
||||
payload.addCount(count.ble_count, MAC_SNIFF_BLE);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if (HAS_GPS)
|
||||
@ -114,7 +113,7 @@ void sendData() {
|
||||
|
||||
#if (PAYLOAD_OPENSENSEBOX)
|
||||
payload.addCount(count.wifi_count, MAC_SNIFF_WIFI);
|
||||
if (cfg.blescan) {
|
||||
if (cfg.blescan)
|
||||
payload.addCount(count.ble_count, MAC_SNIFF_BLE);
|
||||
#endif
|
||||
|
||||
@ -199,9 +198,9 @@ void sendData() {
|
||||
bitmask &= ~mask;
|
||||
mask <<= 1;
|
||||
} // while (bitmask)
|
||||
} // sendData()
|
||||
} // sendData()
|
||||
|
||||
void flushQueues(void) {
|
||||
void flushQueues(void) {
|
||||
rcmd_queuereset();
|
||||
#if (HAS_LORA)
|
||||
lora_queuereset();
|
||||
@ -212,9 +211,9 @@ void sendData() {
|
||||
#ifdef HAS_MQTT
|
||||
mqtt_queuereset();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
bool allQueuesEmtpy(void) {
|
||||
bool allQueuesEmtpy(void) {
|
||||
uint32_t rc = rcmd_queuewaiting();
|
||||
#if (HAS_LORA)
|
||||
rc += lora_queuewaiting();
|
||||
@ -226,4 +225,4 @@ void sendData() {
|
||||
rc += mqtt_queuewaiting();
|
||||
#endif
|
||||
return (rc == 0) ? true : false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user