From 149bd7e05ebc651a64de51b19e798fdaa25a41db Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Sun, 3 Jan 2021 00:16:12 +0100 Subject: [PATCH] rcommand.cpp: bugfix display queue size --- src/rcommand.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rcommand.cpp b/src/rcommand.cpp index 0426c475..cebc1c3e 100644 --- a/src/rcommand.cpp +++ b/src/rcommand.cpp @@ -484,7 +484,8 @@ esp_err_t rcmd_init(void) { ESP_LOGE(TAG, "Could not create rcommand send queue. Aborting."); return ESP_FAIL; } - ESP_LOGI(TAG, "Rcommand send queue created, size %d Bytes", RCMD_QUEUE_SIZE); + ESP_LOGI(TAG, "Rcommand send queue created, size %d Bytes", + RCMD_QUEUE_SIZE * sizeof(RcmdBuffer_t)); xTaskCreatePinnedToCore(rcmd_process, // task function "rcmdloop", // name of task