[chore][cmake] fix CONFIG_PRINT_FLOAT macro

This commit is contained in:
jzlv 2021-09-29 17:03:28 +08:00
parent 839870500d
commit 4e9f1c1149

View file

@ -9,7 +9,7 @@ list(APPEND GLOBAL_LD_FLAGS -Wall -Wchar-subscripts -std=c99)
list(APPEND GLOBAL_LD_FLAGS --specs=nano.specs) list(APPEND GLOBAL_LD_FLAGS --specs=nano.specs)
if(CONFIG_PRINT_FLOAT_ENABLE) if(CONFIG_PRINT_FLOAT)
list(APPEND GLOBAL_LD_FLAGS -u _printf_float) list(APPEND GLOBAL_LD_FLAGS -u _printf_float)
endif() endif()