diff --git a/src/lorawan.cpp b/src/lorawan.cpp index 40dddb3f..3c5a5274 100644 --- a/src/lorawan.cpp +++ b/src/lorawan.cpp @@ -421,7 +421,7 @@ esp_err_t lora_stack_init() { return ESP_FAIL; } ESP_LOGI(TAG, "LORA send queue created, size %d Bytes", - SEND_QUEUE_SIZE * PAYLOAD_BUFFER_SIZE); + SEND_QUEUE_SIZE * sizeof(MessageBuffer_t)); ESP_LOGI(TAG, "Starting LMIC...");