mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-08 13:10:29 +00:00
fix 8266 delay()
This commit is contained in:
parent
c9c7767a51
commit
ae9197c56c
@ -182,6 +182,7 @@ bool sendFDRS()
|
|||||||
esp_now_ack_flag = CRC_NULL;
|
esp_now_ack_flag = CRC_NULL;
|
||||||
while (esp_now_ack_flag == CRC_NULL)
|
while (esp_now_ack_flag == CRC_NULL)
|
||||||
{
|
{
|
||||||
|
yield();
|
||||||
delay(0);
|
delay(0);
|
||||||
}
|
}
|
||||||
if (esp_now_ack_flag == CRC_OK)
|
if (esp_now_ack_flag == CRC_OK)
|
||||||
|
Loading…
Reference in New Issue
Block a user