esp_phy: fix rtc_printf and libbtbb version print

This commit is contained in:
zhangwenxu 2023-06-21 15:45:38 +08:00
parent f29cff3243
commit de7a39477f
2 changed files with 7 additions and 4 deletions

@ -1 +1 @@
Subproject commit dd8e87f58d6d396ad70d19026ee18a356bc32408
Subproject commit 30e464c44ca5f7291bdf88b4396ebd8c1a055388

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
*/
@ -54,8 +54,11 @@ int phy_printf(const char* format, ...)
int rtc_printf(const char* format, ...)
{
// librtc.a printf temporary disabled due to UART baud rate switching bug.
return 0;
va_list arg;
va_start(arg, format);
int res = lib_printf("rtc", format, arg);
va_end(arg);
return res;
}
int wpa_printf(const char* format, ...)