rcommand.cpp: bugfix display queue size

This commit is contained in:
cyberman54 2021-01-03 00:16:12 +01:00
parent 2375489f92
commit 149bd7e05e

View File

@ -484,7 +484,8 @@ esp_err_t rcmd_init(void) {
ESP_LOGE(TAG, "Could not create rcommand send queue. Aborting."); ESP_LOGE(TAG, "Could not create rcommand send queue. Aborting.");
return ESP_FAIL; 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 xTaskCreatePinnedToCore(rcmd_process, // task function
"rcmdloop", // name of task "rcmdloop", // name of task