|
@@ -2443,23 +2443,21 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
2443
|
2443
|
#endif
|
2444
|
2444
|
|
2445
|
2445
|
/**
|
2446
|
|
- * FYSETC LCD Requirements
|
|
2446
|
+ * FYSETC/MKS/BTT Mini Panel Requirements
|
2447
|
2447
|
*/
|
2448
|
2448
|
#if EITHER(FYSETC_242_OLED_12864, FYSETC_MINI_12864_2_1)
|
2449
|
|
- #ifndef NEO_GRB
|
2450
|
|
- #define NEO_GRB 123
|
2451
|
|
- #define FAUX_RGB 1
|
|
2449
|
+ #ifndef NEO_RGB
|
|
2450
|
+ #define NEO_RGB 123
|
2452
|
2451
|
#endif
|
2453
|
|
- #if defined(NEOPIXEL_TYPE) && NEOPIXEL_TYPE != NEO_GRB
|
2454
|
|
- #error "Your FYSETC Mini Panel requires NEOPIXEL_TYPE to be NEO_GRB."
|
|
2452
|
+ #if defined(NEOPIXEL_TYPE) && NEOPIXEL_TYPE != NEO_RGB
|
|
2453
|
+ #error "Your FYSETC/MKS/BTT Mini Panel requires NEOPIXEL_TYPE to be NEO_RGB."
|
2455
|
2454
|
#elif defined(NEOPIXEL_PIXELS) && NEOPIXEL_PIXELS < 3
|
2456
|
|
- #error "Your FYSETC Mini Panel requires NEOPIXEL_PIXELS >= 3."
|
|
2455
|
+ #error "Your FYSETC/MKS/BTT Mini Panel requires NEOPIXEL_PIXELS >= 3."
|
2457
|
2456
|
#endif
|
2458
|
2457
|
#if FAUX_RGB
|
2459
|
|
- #undef NEO_GRB
|
2460
|
|
- #undef FAUX_RGB
|
|
2458
|
+ #undef NEO_RGB
|
2461
|
2459
|
#endif
|
2462
|
|
-#elif EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0) && !DISABLED(RGB_LED)
|
|
2460
|
+#elif EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0) && DISABLED(RGB_LED)
|
2463
|
2461
|
#error "Your FYSETC Mini Panel requires RGB_LED."
|
2464
|
2462
|
#endif
|
2465
|
2463
|
|