Browse Source

🐛 Fix ENABLED => EITHER typo (#22756)

vanilla_fb_2.0.x
Vert 3 years ago
committed by Scott Lahteine
parent
commit
50e52c0fdb
  1. 2
      Marlin/src/inc/Conditionals_LCD.h
  2. 2
      Marlin/src/inc/SanityCheck.h
  3. 2
      Marlin/src/lcd/marlinui.cpp

2
Marlin/src/inc/Conditionals_LCD.h

@ -241,7 +241,7 @@
#define LCD_ST7920_DELAY_2 125
#define LCD_ST7920_DELAY_3 125
#elif ENABLED(ANET_FULL_GRAPHICS_LCD, ANET_FULL_GRAPHICS_LCD_ALT_WIRING)
#elif EITHER(ANET_FULL_GRAPHICS_LCD, ANET_FULL_GRAPHICS_LCD_ALT_WIRING)
#define IS_RRD_FG_SC 1
#define LCD_ST7920_DELAY_1 150

2
Marlin/src/inc/SanityCheck.h

@ -43,7 +43,7 @@
#define TEST2 1
#define TEST3 0
#define TEST4 true
#if ENABLED(TEST0) || !ENABLED(TEST2) || ENABLED(TEST3)
#if ENABLED(TEST0) || !ENABLED(TEST2) || ENABLED(TEST3) || !ENABLED(TEST1, TEST2, TEST4)
#error "ENABLED is borked!"
#endif
#if BOTH(TEST0, TEST1)

2
Marlin/src/lcd/marlinui.cpp

@ -32,7 +32,7 @@
#include "../feature/host_actions.h"
#endif
#if ENABLED(BROWSE_MEDIA_ON_INSERT, PASSWORD_ON_SD_PRINT_MENU)
#if BOTH(BROWSE_MEDIA_ON_INSERT, PASSWORD_ON_SD_PRINT_MENU)
#include "../feature/password/password.h"
#endif

Loading…
Cancel
Save