Skip to content

Commit c1ef653

Browse files
thisiskeithbLCh-77
authored andcommitted
🔧 Fix Neo RGB sanity check (MarlinFirmware#24146)
1 parent b268558 commit c1ef653

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Marlin/src/inc/SanityCheck.h

+2
Original file line numberDiff line numberDiff line change
@@ -2448,6 +2448,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
24482448
#if EITHER(FYSETC_242_OLED_12864, FYSETC_MINI_12864_2_1)
24492449
#ifndef NEO_RGB
24502450
#define NEO_RGB 123
2451+
#define FAUX_RGB 1
24512452
#endif
24522453
#if defined(NEOPIXEL_TYPE) && NEOPIXEL_TYPE != NEO_RGB
24532454
#error "Your FYSETC/MKS/BTT Mini Panel requires NEOPIXEL_TYPE to be NEO_RGB."
@@ -2456,6 +2457,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
24562457
#endif
24572458
#if FAUX_RGB
24582459
#undef NEO_RGB
2460+
#undef FAUX_RGB
24592461
#endif
24602462
#elif EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0) && DISABLED(RGB_LED)
24612463
#error "Your FYSETC Mini Panel requires RGB_LED."

0 commit comments

Comments
 (0)