espnow autoreconnect

This commit is contained in:
2025-07-28 22:47:12 -04:00
parent 9123e399d9
commit 4c307e99da

View File

@@ -138,7 +138,7 @@ static void statusDataSend(const uint8_t *mac_addr, esp_now_send_status_t status
ESP_LOGE(TAG, "Error sending data. Error code: 0x%04X", 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();
//deletePeer();
//esp_restart();
if (espnow_channel < 11) {