Skip to content

Commit 0ff1695

Browse files
committed
components/M5Unified: Do not use automatic check of board id.
Signed-off-by: lbuque <1102390310@qq.com>
1 parent 7cad76f commit 0ff1695

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

m5stack/components/M5Unified/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@ endif()
3030

3131
register_component()
3232
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
33-
target_compile_definitions(${COMPONENT_LIB} PRIVATE BOARD_ID=${BOARD_ID})
33+
target_compile_definitions(${COMPONENT_LIB} PRIVATE BOARD_ID=${BOARD_ID})
34+
target_compile_definitions(${COMPONENT_LIB} PRIVATE M5GFX_BOARD=${BOARD_ID})

0 commit comments

Comments
 (0)