forked from espressif/esp-idf
esp_rom_printf
This commit is contained in:
@@ -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
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user