diff --git a/esp32/libphy.a b/esp32/libphy.a index 0ea80f85..5d862c5e 100644 Binary files a/esp32/libphy.a and b/esp32/libphy.a differ diff --git a/esp32s2beta/libphy.a b/esp32s2beta/libphy.a index aedda608..b15eb1dc 100755 Binary files a/esp32s2beta/libphy.a and b/esp32s2beta/libphy.a differ diff --git a/fix_printf.sh b/fix_printf.sh index db503e5d..39754abc 100755 --- a/fix_printf.sh +++ b/fix_printf.sh @@ -2,17 +2,17 @@ for dir in esp32 esp32s2beta; do if [ -d "$dir" ]; then cd $dir - git status libphy.a | grep modified >/dev/null 2>&1 - if [ $? -eq 0 ]; then - echo $dir/libphy.a fixed - xtensa-esp32-elf-objcopy --redefine-sym ets_printf=phy_printf libphy.a + git status libphy.a | grep modified >/dev/null 2>&1 + if [ $? -eq 0 ]; then + echo $dir/libphy.a fixed + xtensa-esp32-elf-objcopy --redefine-sym ets_printf=phy_printf libphy.a fi git status librtc.a | grep modified >/dev/null 2>&1 if [ $? -eq 0 ]; then echo $dir/librtc.a fixed - xtensa-esp32-elf-objcopy --redefine-sym ets_printf=rtc_printf librtc.a - fi + xtensa-esp32-elf-objcopy --redefine-sym ets_printf=rtc_printf librtc.a + fi git status libsmartconfig.a | grep modified >/dev/null 2>&1 if [ $? -eq 0 ]; then