esp_rom_printf

This commit is contained in:
luomanruo 2023-07-24 16:18:20 +08:00
parent 99c0715962
commit c624b0a45e
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) {
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

View File

@ -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