diff --git a/components/esp_phy/lib b/components/esp_phy/lib index dd8e87f58d..30e464c44c 160000 --- a/components/esp_phy/lib +++ b/components/esp_phy/lib @@ -1 +1 @@ -Subproject commit dd8e87f58d6d396ad70d19026ee18a356bc32408 +Subproject commit 30e464c44ca5f7291bdf88b4396ebd8c1a055388 diff --git a/components/esp_phy/src/lib_printf.c b/components/esp_phy/src/lib_printf.c index 424e565590..8c5a8421db 100644 --- a/components/esp_phy/src/lib_printf.c +++ b/components/esp_phy/src/lib_printf.c @@ -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, ...)