delays in loop_tasks adjusted
This commit is contained in:
parent
009aa1686a
commit
d3bbd46f79
@ -280,7 +280,7 @@ void bt_loop(void *ignore)
|
|||||||
|
|
||||||
while(1)
|
while(1)
|
||||||
{
|
{
|
||||||
vTaskDelay(500);
|
vTaskDelay(500/portTICK_PERIOD_MS);
|
||||||
yield();
|
yield();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -124,6 +124,5 @@ void wifi_sniffer_packet_handler(void* buff, wifi_promiscuous_pkt_type_t type) {
|
|||||||
} else {
|
} else {
|
||||||
ESP_LOGI(TAG, "WiFi RSSI %d -> ignoring (limit: %d)", ppkt->rx_ctrl.rssi, cfg.rssilimit);
|
ESP_LOGI(TAG, "WiFi RSSI %d -> ignoring (limit: %d)", ppkt->rx_ctrl.rssi, cfg.rssilimit);
|
||||||
}
|
}
|
||||||
//yield();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -530,7 +530,7 @@ void loop() {
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
{ vTaskDelay(1000/portTICK_PERIOD_MS);
|
{ vTaskDelay(500/portTICK_PERIOD_MS);
|
||||||
uptimecounter = uptime() / 1000; // count uptime seconds
|
uptimecounter = uptime() / 1000; // count uptime seconds
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user