From 2ebad4e735b5bd778f3346c6e1b6ff24fc49de7d Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Tue, 23 Mar 2021 13:00:01 +0000 Subject: [PATCH] Drop redundant -D --- micropython/modules/pico_display/micropython.cmake | 4 ++-- micropython/modules/pico_explorer/micropython.cmake | 4 ++-- micropython/modules/pico_rgb_keypad/micropython.cmake | 4 ++-- micropython/modules/pico_scroll/micropython.cmake | 4 ++-- micropython/modules/pico_unicorn/micropython.cmake | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/micropython/modules/pico_display/micropython.cmake b/micropython/modules/pico_display/micropython.cmake index 0ec4990a..06992cb2 100644 --- a/micropython/modules/pico_display/micropython.cmake +++ b/micropython/modules/pico_display/micropython.cmake @@ -15,7 +15,7 @@ target_include_directories(usermod_pico_display INTERFACE ) target_compile_definitions(usermod_pico_display INTERFACE - -DMODULE_PICODISPLAY_ENABLED=1 + MODULE_PICODISPLAY_ENABLED=1 ) target_link_libraries(usermod INTERFACE usermod_pico_display) @@ -24,4 +24,4 @@ set_source_files_properties( ${CMAKE_CURRENT_LIST_DIR}/pico_display.c PROPERTIES COMPILE_FLAGS "-Wno-discarded-qualifiers -Wno-implicit-int" -) \ No newline at end of file +) diff --git a/micropython/modules/pico_explorer/micropython.cmake b/micropython/modules/pico_explorer/micropython.cmake index 6b9999bf..b3010e6a 100644 --- a/micropython/modules/pico_explorer/micropython.cmake +++ b/micropython/modules/pico_explorer/micropython.cmake @@ -15,7 +15,7 @@ target_include_directories(usermod_pico_explorer INTERFACE ) target_compile_definitions(usermod_pico_explorer INTERFACE - -DMODULE_PICOEXPLORER_ENABLED=1 + MODULE_PICOEXPLORER_ENABLED=1 ) target_link_libraries(usermod INTERFACE usermod_pico_explorer) @@ -24,4 +24,4 @@ set_source_files_properties( ${CMAKE_CURRENT_LIST_DIR}/pico_explorer.c PROPERTIES COMPILE_FLAGS "-Wno-discarded-qualifiers -Wno-implicit-int" -) \ No newline at end of file +) diff --git a/micropython/modules/pico_rgb_keypad/micropython.cmake b/micropython/modules/pico_rgb_keypad/micropython.cmake index 37901c28..58339a9c 100644 --- a/micropython/modules/pico_rgb_keypad/micropython.cmake +++ b/micropython/modules/pico_rgb_keypad/micropython.cmake @@ -11,7 +11,7 @@ target_include_directories(usermod_pico_rgb_keypad INTERFACE ) target_compile_definitions(usermod_pico_rgb_keypad INTERFACE - -DMODULE_PICOKEYPAD_ENABLED=1 + MODULE_PICOKEYPAD_ENABLED=1 ) target_link_libraries(usermod INTERFACE usermod_pico_rgb_keypad) @@ -20,4 +20,4 @@ set_source_files_properties( ${CMAKE_CURRENT_LIST_DIR}/pico_rgb_keypad.c PROPERTIES COMPILE_FLAGS "-Wno-discarded-qualifiers -Wno-implicit-int" -) \ No newline at end of file +) diff --git a/micropython/modules/pico_scroll/micropython.cmake b/micropython/modules/pico_scroll/micropython.cmake index 5f064307..127eab13 100644 --- a/micropython/modules/pico_scroll/micropython.cmake +++ b/micropython/modules/pico_scroll/micropython.cmake @@ -11,7 +11,7 @@ target_include_directories(usermod_pico_scroll INTERFACE ) target_compile_definitions(usermod_pico_scroll INTERFACE - -DMODULE_PICOSCROLL_ENABLED=1 + MODULE_PICOSCROLL_ENABLED=1 ) target_link_libraries(usermod INTERFACE usermod_pico_scroll) @@ -20,4 +20,4 @@ set_source_files_properties( ${CMAKE_CURRENT_LIST_DIR}/pico_scroll.c PROPERTIES COMPILE_FLAGS "-Wno-discarded-qualifiers -Wno-implicit-int" -) \ No newline at end of file +) diff --git a/micropython/modules/pico_unicorn/micropython.cmake b/micropython/modules/pico_unicorn/micropython.cmake index 0c3840c6..261efebb 100644 --- a/micropython/modules/pico_unicorn/micropython.cmake +++ b/micropython/modules/pico_unicorn/micropython.cmake @@ -13,7 +13,7 @@ target_include_directories(usermod_pico_unicorn INTERFACE ) target_compile_definitions(usermod_pico_unicorn INTERFACE - -DMODULE_PICOUNICORN_ENABLED=1 + MODULE_PICOUNICORN_ENABLED=1 ) target_link_libraries(usermod INTERFACE usermod_pico_unicorn) @@ -22,4 +22,4 @@ set_source_files_properties( ${CMAKE_CURRENT_LIST_DIR}/pico_unicorn.c PROPERTIES COMPILE_FLAGS "-Wno-discarded-qualifiers -Wno-implicit-int" -) \ No newline at end of file +)