From 72f52f93b95921783dfa274a79eac35ea22ff5ad Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Sat, 4 Jan 2025 05:35:04 -0500 Subject: [PATCH] ESP32-C3 RC & Receiver --- ESP-IDF_Robot_RC/main/espnow_example_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ESP-IDF_Robot_RC/main/espnow_example_main.c b/ESP-IDF_Robot_RC/main/espnow_example_main.c index 68b8386c9..0525335c7 100755 --- a/ESP-IDF_Robot_RC/main/espnow_example_main.c +++ b/ESP-IDF_Robot_RC/main/espnow_example_main.c @@ -103,7 +103,7 @@ void sendData (void) { // Call ESP-NOW function to send data (MAC address of receiver, pointer to the memory holding data & data length) uint8_t result = esp_now_send(receiver_mac, &buffer, sizeof(buffer)); - // If status is NOT OK + // If status is NOT OK, display error message and error code (in hexadecimal). if (result != 0) { ESP_LOGE("ESP-NOW", "Error sending data! Error code: 0x%04X", result); deletePeer();