Skip to content

Commit 915e0d2

Browse files
author
Jonathan Swoboda
committed
change(rmt): change prints to debug instead of error
1 parent 0f0068f commit 915e0d2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

components/esp_driver_rmt/src/rmt_rx.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
2+
* SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -630,12 +630,12 @@ static bool IRAM_ATTR rmt_isr_handle_rx_done(rmt_rx_channel_t *rx_chan)
630630

631631
// even user process the partial received data, the remain buffer may still be insufficient
632632
if (mem_want > mem_have) {
633-
ESP_DRAM_LOGE(TAG, "user buffer too small, received symbols truncated");
633+
ESP_DRAM_LOGD(TAG, "user buffer too small, received symbols truncated");
634634
copy_size = mem_have;
635635
}
636636
}
637637
} else {
638-
ESP_DRAM_LOGE(TAG, "user buffer too small, received symbols truncated");
638+
ESP_DRAM_LOGD(TAG, "user buffer too small, received symbols truncated");
639639
copy_size = mem_have;
640640
}
641641
}
@@ -656,7 +656,7 @@ static bool IRAM_ATTR rmt_isr_handle_rx_done(rmt_rx_channel_t *rx_chan)
656656
portEXIT_CRITICAL_ISR(&channel->spinlock);
657657
// this clear operation can only take effect after we copy out the received data and reset the pointer
658658
rmt_ll_clear_interrupt_status(hal->regs, RMT_LL_EVENT_RX_ERROR(channel_id));
659-
ESP_DRAM_LOGE(TAG, "hw buffer too small, received symbols truncated");
659+
ESP_DRAM_LOGD(TAG, "hw buffer too small, received symbols truncated");
660660
}
661661
#endif // !SOC_RMT_SUPPORT_RX_PINGPONG
662662

@@ -715,12 +715,12 @@ static bool IRAM_ATTR rmt_isr_handle_rx_threshold(rmt_rx_channel_t *rx_chan)
715715

716716
// even user process the partial received data, the remain buffer size still insufficient
717717
if (mem_want > mem_have) {
718-
ESP_DRAM_LOGE(TAG, "user buffer too small, received symbols truncated");
718+
ESP_DRAM_LOGD(TAG, "user buffer too small, received symbols truncated");
719719
copy_size = mem_have;
720720
}
721721
}
722722
} else {
723-
ESP_DRAM_LOGE(TAG, "user buffer too small, received symbols truncated");
723+
ESP_DRAM_LOGD(TAG, "user buffer too small, received symbols truncated");
724724
copy_size = mem_have;
725725
}
726726
}

0 commit comments

Comments
 (0)