ESPNOW + WiFi

This commit is contained in:
2025-07-28 15:37:07 -04:00
parent 3b884c1321
commit 2bc3332409

View File

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