From 1dab8b65bead3931b587a239fd2936821c4ab201 Mon Sep 17 00:00:00 2001 From: Alexander Bobkov Date: Tue, 24 Dec 2024 11:59:56 -0500 Subject: [PATCH] ESP-IDF Robot ESP NOW --- ESP-IDF_Robot/main/blink_example_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ESP-IDF_Robot/main/blink_example_main.c b/ESP-IDF_Robot/main/blink_example_main.c index 7d18154f5..a4493b0e5 100644 --- a/ESP-IDF_Robot/main/blink_example_main.c +++ b/ESP-IDF_Robot/main/blink_example_main.c @@ -236,6 +236,7 @@ static esp_err_t espnow_init(void) { espnow_send_param_t *send_param; espnow_queue = xQueueCreate(ESPNOW_QUEUE_SIZE, sizeof(espnow_event_t)); + // Confirm that queue exists, and continue if so. if (espnow_queue == NULL) { ESP_LOGE(TAG, "Create ESP-NOW mutex failed."); return ESP_FAIL;