mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-18 19:47:12 +00:00
ESPNOW + WiFi
This commit is contained in:
@@ -130,7 +130,7 @@ static void statusDataSend(const uint8_t *mac_addr, esp_now_send_status_t status
|
||||
ESP_LOGE(TAG, "esp_now_send() failed: %s", esp_err_to_name(status));
|
||||
ESP_LOGE(TAG, "Ensure that receiver is powered-on and MAC is correct.");
|
||||
deletePeer();
|
||||
vTaskDelay(pdMS_TO_TICKS(1000)); // Wait for a second before restarting
|
||||
vTaskDelay(pdMS_TO_TICKS(5000)); // Wait for a second before restarting
|
||||
esp_restart();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user