From 915e0d21c14ea680a9af738f72c4934002599445 Mon Sep 17 00:00:00 2001 From: Jonathan Swoboda Date: Thu, 16 Jan 2025 11:46:19 -0500 Subject: [PATCH] change(rmt): change prints to debug instead of error --- components/esp_driver_rmt/src/rmt_rx.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/components/esp_driver_rmt/src/rmt_rx.c b/components/esp_driver_rmt/src/rmt_rx.c index 3e77b7644f08..52b9e8f56656 100644 --- a/components/esp_driver_rmt/src/rmt_rx.c +++ b/components/esp_driver_rmt/src/rmt_rx.c @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -630,12 +630,12 @@ static bool IRAM_ATTR rmt_isr_handle_rx_done(rmt_rx_channel_t *rx_chan) // even user process the partial received data, the remain buffer may still be insufficient if (mem_want > mem_have) { - ESP_DRAM_LOGE(TAG, "user buffer too small, received symbols truncated"); + ESP_DRAM_LOGD(TAG, "user buffer too small, received symbols truncated"); copy_size = mem_have; } } } else { - ESP_DRAM_LOGE(TAG, "user buffer too small, received symbols truncated"); + ESP_DRAM_LOGD(TAG, "user buffer too small, received symbols truncated"); copy_size = mem_have; } } @@ -656,7 +656,7 @@ static bool IRAM_ATTR rmt_isr_handle_rx_done(rmt_rx_channel_t *rx_chan) portEXIT_CRITICAL_ISR(&channel->spinlock); // this clear operation can only take effect after we copy out the received data and reset the pointer rmt_ll_clear_interrupt_status(hal->regs, RMT_LL_EVENT_RX_ERROR(channel_id)); - ESP_DRAM_LOGE(TAG, "hw buffer too small, received symbols truncated"); + ESP_DRAM_LOGD(TAG, "hw buffer too small, received symbols truncated"); } #endif // !SOC_RMT_SUPPORT_RX_PINGPONG @@ -715,12 +715,12 @@ static bool IRAM_ATTR rmt_isr_handle_rx_threshold(rmt_rx_channel_t *rx_chan) // even user process the partial received data, the remain buffer size still insufficient if (mem_want > mem_have) { - ESP_DRAM_LOGE(TAG, "user buffer too small, received symbols truncated"); + ESP_DRAM_LOGD(TAG, "user buffer too small, received symbols truncated"); copy_size = mem_have; } } } else { - ESP_DRAM_LOGE(TAG, "user buffer too small, received symbols truncated"); + ESP_DRAM_LOGD(TAG, "user buffer too small, received symbols truncated"); copy_size = mem_have; } }