Skip to content

Commit 949f296

Browse files
authored
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.
1 parent 82dc456 commit 949f296

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wled00/usermods_list.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@
5858
#endif
5959

6060
#ifdef USERMOD_FOUR_LINE_DISPLAY
61-
#ifdef USE_ALT_DISPLAY
61+
#if defined(USE_ALT_DISPLAY) || defined (USE_ALT_DISPlAY)
6262
#include "../usermods/usermod_v2_four_line_display_ALT/usermod_v2_four_line_display_ALT.h"
6363
#else
6464
#include "../usermods/usermod_v2_four_line_display/usermod_v2_four_line_display.h"
6565
#endif
6666
#endif
6767

6868
#ifdef USERMOD_ROTARY_ENCODER_UI
69-
#ifdef USE_ALT_DISPLAY
69+
#if defined(USE_ALT_DISPLAY) || defined (USE_ALT_DISPlAY)
7070
#include "../usermods/usermod_v2_rotary_encoder_ui_ALT/usermod_v2_rotary_encoder_ui_ALT.h"
7171
#else
7272
#include "../usermods/usermod_v2_rotary_encoder_ui/usermod_v2_rotary_encoder_ui.h"

0 commit comments

Comments
 (0)