mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-11 15:20:16 +00:00
ESP-IDF Robot ESP NOW
This commit is contained in:
@@ -236,6 +236,7 @@ static esp_err_t espnow_init(void) {
|
|||||||
espnow_send_param_t *send_param;
|
espnow_send_param_t *send_param;
|
||||||
|
|
||||||
espnow_queue = xQueueCreate(ESPNOW_QUEUE_SIZE, sizeof(espnow_event_t));
|
espnow_queue = xQueueCreate(ESPNOW_QUEUE_SIZE, sizeof(espnow_event_t));
|
||||||
|
// Confirm that queue exists, and continue if so.
|
||||||
if (espnow_queue == NULL) {
|
if (espnow_queue == NULL) {
|
||||||
ESP_LOGE(TAG, "Create ESP-NOW mutex failed.");
|
ESP_LOGE(TAG, "Create ESP-NOW mutex failed.");
|
||||||
return ESP_FAIL;
|
return ESP_FAIL;
|
||||||
|
Reference in New Issue
Block a user