1
1
/*
2
- * SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD
2
+ * SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
3
3
*
4
4
* SPDX-License-Identifier: Apache-2.0
5
5
*/
@@ -630,12 +630,12 @@ static bool IRAM_ATTR rmt_isr_handle_rx_done(rmt_rx_channel_t *rx_chan)
630
630
631
631
// even user process the partial received data, the remain buffer may still be insufficient
632
632
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" );
634
634
copy_size = mem_have ;
635
635
}
636
636
}
637
637
} 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" );
639
639
copy_size = mem_have ;
640
640
}
641
641
}
@@ -656,7 +656,7 @@ static bool IRAM_ATTR rmt_isr_handle_rx_done(rmt_rx_channel_t *rx_chan)
656
656
portEXIT_CRITICAL_ISR (& channel -> spinlock );
657
657
// this clear operation can only take effect after we copy out the received data and reset the pointer
658
658
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" );
660
660
}
661
661
#endif // !SOC_RMT_SUPPORT_RX_PINGPONG
662
662
@@ -715,12 +715,12 @@ static bool IRAM_ATTR rmt_isr_handle_rx_threshold(rmt_rx_channel_t *rx_chan)
715
715
716
716
// even user process the partial received data, the remain buffer size still insufficient
717
717
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" );
719
719
copy_size = mem_have ;
720
720
}
721
721
}
722
722
} 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" );
724
724
copy_size = mem_have ;
725
725
}
726
726
}
0 commit comments