mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Simplify CLI case-insensitive by using new strcasestr() (#5449)
Remove string lowercase function from cli.c and use the new strcasestr() added to string_light.c
This commit is contained in:
parent
6056ee1740
commit
0e051bebb2
2 changed files with 3 additions and 11 deletions
|
@ -350,6 +350,8 @@ COVERAGE_FLAGS := --coverage
|
|||
C_FLAGS += $(COVERAGE_FLAGS)
|
||||
CXX_FLAGS += $(COVERAGE_FLAGS)
|
||||
|
||||
C_FLAGS += -D_GNU_SOURCE
|
||||
|
||||
# Set up the parameter group linker flags according to OS
|
||||
ifdef MACOSX
|
||||
LDFLAGS += -Wl,-map,$(OBJECT_DIR)/$@.map
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue