Allow TEMP_STAT_LEDS with only one LED defined
This commit is contained in:
parent
4b056d8184
commit
ada935de87
2 changed files with 11 additions and 5 deletions
|
|
@ -770,8 +770,8 @@
|
|||
/**
|
||||
* Temperature status LEDs
|
||||
*/
|
||||
#if ENABLED(TEMP_STAT_LEDS) && !(PIN_EXISTS(STAT_LED_RED) && PIN_EXISTS(STAT_LED_BLUE))
|
||||
#error "TEMP_STAT_LEDS requires STAT_LED_RED_PIN and STAT_LED_BLUE_PIN."
|
||||
#if ENABLED(TEMP_STAT_LEDS) && !PIN_EXISTS(STAT_LED_RED) && !PIN_EXISTS(STAT_LED_BLUE)
|
||||
#error "TEMP_STAT_LEDS requires STAT_LED_RED_PIN or STAT_LED_BLUE_PIN, preferably both."
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -942,7 +942,7 @@
|
|||
#else
|
||||
#define COUNT_LCD_13 COUNT_LCD_12
|
||||
#endif
|
||||
#if ENABLED(REPRAPWORLD_KEYPAD)
|
||||
#if ENABLED(REPRAPWORLD_KEYPAD) && DISABLED(CARTESIO_UI)
|
||||
#define COUNT_LCD_14 INCREMENT(COUNT_LCD_13)
|
||||
#else
|
||||
#define COUNT_LCD_14 COUNT_LCD_13
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue