esp_rom_printf

This commit is contained in:
luomanruo
2023-07-24 16:18:20 +08:00
parent 3ece525e26
commit c291b02651
2 changed files with 6 additions and 6 deletions

View File

@@ -387,14 +387,14 @@ static void esp_bt_controller_log_interface(uint32_t len, const uint8_t *addr, b
{ {
if (!end) { if (!end) {
for (int i = 0; i < len; i++) { for (int i = 0; i < len; i++) {
ets_printf("%02x,", addr[i]); esp_rom_printf("%02x,", addr[i]);
} }
} else { } else {
for (int i = 0; i < len; i++) { 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 #endif // CONFIG_BT_LE_CONTROLLER_LOG_ENABLED

View File

@@ -379,14 +379,14 @@ static void esp_bt_controller_log_interface(uint32_t len, const uint8_t *addr, b
{ {
if (!end) { if (!end) {
for (int i = 0; i < len; i++) { for (int i = 0; i < len; i++) {
ets_printf("%02x,", addr[i]); esp_rom_printf("%02x,", addr[i]);
} }
} else { } else {
for (int i = 0; i < len; i++) { 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 #endif // CONFIG_BT_LE_CONTROLLER_LOG_ENABLED