delays in loop_tasks adjusted

This commit is contained in:
Klaus K Wilting 2018-04-15 18:19:47 +02:00
parent 009aa1686a
commit d3bbd46f79
3 changed files with 2 additions and 3 deletions

View File

@ -280,7 +280,7 @@ void bt_loop(void *ignore)
while(1) while(1)
{ {
vTaskDelay(500); vTaskDelay(500/portTICK_PERIOD_MS);
yield(); yield();
} }

View File

@ -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();
} }

View File

@ -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
} }
} }