Merge branch 'fix/phylib_rtc_printf' into 'master'

esp_phy: fix rtc_printf and libbtbb version print

See merge request espressif/esp-idf!24356
This commit is contained in:
Shu Chen
2023-06-25 20:05:23 +08:00
2 changed files with 7 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
/* /*
* SPDX-FileCopyrightText: 2016-2022 Espressif Systems (Shanghai) CO LTD * SPDX-FileCopyrightText: 2016-2023 Espressif Systems (Shanghai) CO LTD
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
@@ -54,8 +54,11 @@ int phy_printf(const char* format, ...)
int rtc_printf(const char* format, ...) int rtc_printf(const char* format, ...)
{ {
// librtc.a printf temporary disabled due to UART baud rate switching bug. va_list arg;
return 0; va_start(arg, format);
int res = lib_printf("rtc", format, arg);
va_end(arg);
return res;
} }
int wpa_printf(const char* format, ...) int wpa_printf(const char* format, ...)