Skip to content

Commit

Permalink
ble update for doc: bugfix for esp32c6 and esp32h2
Browse files Browse the repository at this point in the history
  • Loading branch information
luomanruo committed Jul 25, 2023
1 parent 2a22514 commit 3ece525
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/bt/controller/esp32c6/bt.c
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ static void esp_bt_controller_log_interface(uint32_t len, const uint8_t *addr, b
for (int i = 0; i < len; i++) {
ets_printf("%02x,", addr[i]);
}

} else {
for (int i = 0; i < len; i++) {
ets_printf("%02x,", addr[i]);
Expand Down
4 changes: 2 additions & 2 deletions components/bt/controller/esp32h2/bt.c
Original file line number Diff line number Diff line change
Expand Up @@ -381,14 +381,14 @@ static void esp_bt_controller_log_interface(uint32_t len, const uint8_t *addr, b
for (int i = 0; i < len; i++) {
ets_printf("%02x,", addr[i]);
}

} else {
for (int i = 0; i < len; i++) {
ets_printf("%02x,", addr[i]);
}
ets_printf("\n");
}
}
}
#endif // CONFIG_BT_LE_CONTROLLER_LOG_ENABLED

#ifdef CONFIG_BT_LE_HCI_INTERFACE_USE_UART
Expand Down

0 comments on commit 3ece525

Please sign in to comment.