diff --git a/platformio.ini b/platformio.ini index c01d4f15..8cd732c9 100644 --- a/platformio.ini +++ b/platformio.ini @@ -614,7 +614,7 @@ build_flags_max = -D ARDUINO_USB_CDC_ON_BOOT=0 ; needed for arduino-esp32 >=2.0.4 ewowi to softhack: move to build_flags_min? -D WLED_USE_MY_CONFIG ; include custom my_config.h ewowi to softhack: redundant as also in build_flags_min? -D USERMOD_DALLASTEMPERATURE - -D USE_ALT_DISPlAY ; new versions of USERMOD_FOUR_LINE_DISPLAY and USERMOD_ROTARY_ENCODER_UI + -D USE_ALT_DISPLAY ; new versions of USERMOD_FOUR_LINE_DISPLAY and USERMOD_ROTARY_ENCODER_UI -D USERMOD_FOUR_LINE_DISPLAY -D USERMOD_ROTARY_ENCODER_UI -D USERMOD_AUTO_SAVE diff --git a/usermods/usermod_v2_four_line_display_ALT/readme.md b/usermods/usermod_v2_four_line_display_ALT/readme.md index 67cde353..7b466c01 100644 --- a/usermods/usermod_v2_four_line_display_ALT/readme.md +++ b/usermods/usermod_v2_four_line_display_ALT/readme.md @@ -31,8 +31,8 @@ Also shows if the timer is enabled ## Installation Please refer to the original `usermod_v2_rotary_encoder_ui` readme for the main instructions -Then to activate this alternative usermod add `#define USE_ALT_DISPlAY` to the `usermods_list.cpp` file, - or add `-D USE_ALT_DISPlAY` to the original `platformio_override.ini.sample` file +Then to activate this alternative usermod add `#define USE_ALT_DISPLAY` to the `usermods_list.cpp` file, + or add `-D USE_ALT_DISPLAY` to the original `platformio_override.ini.sample` file ### PlatformIO requirements diff --git a/usermods/usermod_v2_rotary_encoder_ui_ALT/readme.md b/usermods/usermod_v2_rotary_encoder_ui_ALT/readme.md index a140f25b..f5ebe0eb 100644 --- a/usermods/usermod_v2_rotary_encoder_ui_ALT/readme.md +++ b/usermods/usermod_v2_rotary_encoder_ui_ALT/readme.md @@ -31,8 +31,8 @@ Also shows if the timer is enabled ## Installation Please refer to the original `usermod_v2_rotary_encoder_ui` readme for the main instructions -Then to activate this alternative usermod add `#define USE_ALT_DISPlAY` to the `usermods_list.cpp` file, - or add `-D USE_ALT_DISPlAY` to the original `platformio_override.ini.sample` file +Then to activate this alternative usermod add `#define USE_ALT_DISPLAY` to the `usermods_list.cpp` file, + or add `-D USE_ALT_DISPLAY` to the original `platformio_override.ini.sample` file ### PlatformIO requirements diff --git a/wled00/usermods_list.cpp b/wled00/usermods_list.cpp index cffadf7a..56195aec 100644 --- a/wled00/usermods_list.cpp +++ b/wled00/usermods_list.cpp @@ -53,7 +53,7 @@ #endif #ifdef USERMOD_FOUR_LINE_DISPLAY - #ifdef USE_ALT_DISPlAY + #ifdef USE_ALT_DISPLAY #include "../usermods/usermod_v2_four_line_display_ALT/usermod_v2_four_line_display_ALT.h" #else #include "../usermods/usermod_v2_four_line_display/usermod_v2_four_line_display.h" @@ -61,7 +61,7 @@ #endif #ifdef USERMOD_ROTARY_ENCODER_UI - #ifdef USE_ALT_DISPlAY + #ifdef USE_ALT_DISPLAY #include "../usermods/usermod_v2_rotary_encoder_ui_ALT/usermod_v2_rotary_encoder_ui_ALT.h" #else #include "../usermods/usermod_v2_rotary_encoder_ui/usermod_v2_rotary_encoder_ui.h"