0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-08-02 17:16:32 +03:00

-Wpadding, reorder struct fields, saves 400 bytes

This commit is contained in:
bricky149
2023-10-04 18:35:51 +01:00
parent 429ac36ffe
commit 74c37451bf
3 changed files with 22 additions and 22 deletions

View File

@@ -172,6 +172,7 @@ ifeq ($(ENABLE_LTO), 1)
CFLAGS += -flto=2
endif
CFLAGS += -Wpadded
CFLAGS += -DPRINTF_INCLUDE_CONFIG_H
CFLAGS += -DGIT_HASH=\"$(GIT_HASH)\"
ifeq ($(ENABLE_SWD),1)