From c291b026516c73f27d3891ac020ff2c0e7113383 Mon Sep 17 00:00:00 2001 From: luomanruo Date: Mon, 24 Jul 2023 16:18:20 +0800 Subject: [PATCH] esp_rom_printf --- components/bt/controller/esp32c6/bt.c | 6 +++--- components/bt/controller/esp32h2/bt.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/bt/controller/esp32c6/bt.c b/components/bt/controller/esp32c6/bt.c index e9ef174fe6..65851b84c3 100644 --- a/components/bt/controller/esp32c6/bt.c +++ b/components/bt/controller/esp32c6/bt.c @@ -387,14 +387,14 @@ static void esp_bt_controller_log_interface(uint32_t len, const uint8_t *addr, b { if (!end) { for (int i = 0; i < len; i++) { - ets_printf("%02x,", addr[i]); + esp_rom_printf("%02x,", addr[i]); } } else { for (int i = 0; i < len; i++) { - ets_printf("%02x,", addr[i]); + esp_rom_printf("%02x,", addr[i]); } - ets_printf("\n"); + esp_rom_printf("\n"); } } #endif // CONFIG_BT_LE_CONTROLLER_LOG_ENABLED diff --git a/components/bt/controller/esp32h2/bt.c b/components/bt/controller/esp32h2/bt.c index edc590dedc..5b3b8f2fa6 100644 --- a/components/bt/controller/esp32h2/bt.c +++ b/components/bt/controller/esp32h2/bt.c @@ -379,14 +379,14 @@ static void esp_bt_controller_log_interface(uint32_t len, const uint8_t *addr, b { if (!end) { for (int i = 0; i < len; i++) { - ets_printf("%02x,", addr[i]); + esp_rom_printf("%02x,", addr[i]); } } else { for (int i = 0; i < len; i++) { - ets_printf("%02x,", addr[i]); + esp_rom_printf("%02x,", addr[i]); } - ets_printf("\n"); + esp_rom_printf("\n"); } } #endif // CONFIG_BT_LE_CONTROLLER_LOG_ENABLED