espnow autoreconnect

This commit is contained in:
2025-07-29 01:53:54 -04:00
parent a2f2e9727b
commit c73e40a876
2 changed files with 1 additions and 1 deletions

View File

@@ -145,7 +145,7 @@ static void statusDataSend(const uint8_t *mac_addr, esp_now_send_status_t status
if (espnow_channel < 11) { if (espnow_channel < 11) {
espnow_channel++; espnow_channel++;
} else { } else {
espnow_channel = 1; esp_restart();
} }
devices.channel = espnow_channel; devices.channel = espnow_channel;