Skip to content

Commit

Permalink
esp_rom_printf
Browse files Browse the repository at this point in the history
  • Loading branch information
luomanruo committed Jul 25, 2023
1 parent 3ece525 commit c291b02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions components/bt/controller/esp32c6/bt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions components/bt/controller/esp32h2/bt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c291b02

Please sign in to comment.