From 949f296167722cc14c2b547ae4bbeb4ce8242ea7 Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Thu, 30 Mar 2023 15:26:39 +0200 Subject: [PATCH] legacy support: allow USE_ALT_DISPlAY as alias for USE_ALT_DISPLAY just to prevent that existing user build envs stop working ... the difference between "L" and "l" is sometimes hard to see. --- wled00/usermods_list.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wled00/usermods_list.cpp b/wled00/usermods_list.cpp index 3f56194c..3fe76290 100644 --- a/wled00/usermods_list.cpp +++ b/wled00/usermods_list.cpp @@ -58,7 +58,7 @@ #endif #ifdef USERMOD_FOUR_LINE_DISPLAY - #ifdef USE_ALT_DISPLAY + #if defined(USE_ALT_DISPLAY) || defined (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" @@ -66,7 +66,7 @@ #endif #ifdef USERMOD_ROTARY_ENCODER_UI - #ifdef USE_ALT_DISPLAY + #if defined(USE_ALT_DISPLAY) || defined (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"