mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-07 13:28:48 +00:00
[chore][cmake] fix CONFIG_PRINT_FLOAT macro
This commit is contained in:
parent
839870500d
commit
4e9f1c1149
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue