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;