mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 14:00:51 +00:00
temp sensor
This commit is contained in:
@@ -115,7 +115,9 @@ 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, "esp_now_send() failed: %s", esp_err_to_name(status));
|
||||||
ESP_LOGE(TAG, "Ensure that receiver is powered-on and MAC is correct.");
|
ESP_LOGE(TAG, "Ensure that receiver is powered-on and MAC is correct.");
|
||||||
deletePeer();
|
deletePeer();
|
||||||
esp_restart();
|
//esp_restart();
|
||||||
|
esp_now_deinit();
|
||||||
|
esp_now_init();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user