Patch tabs, heater led tests
This commit is contained in:
parent
a89f4703df
commit
e6dfc991ae
|
@ -1066,9 +1066,13 @@ void MarlinUI::draw_status_screen() {
|
|||
static uint8_t ledsprev = 0;
|
||||
uint8_t leds = 0;
|
||||
|
||||
#if HAS_HEATED_BED
|
||||
if (thermalManager.degTargetBed() > 0) leds |= LED_A;
|
||||
#endif
|
||||
|
||||
#if HOTENDS
|
||||
if (thermalManager.degTargetHotend(0) > 0) leds |= LED_B;
|
||||
#endif
|
||||
|
||||
#if FAN_COUNT > 0
|
||||
if (0
|
||||
|
|
|
@ -1233,11 +1233,11 @@ void MarlinUI::update() {
|
|||
|
||||
#endif // UP || DWN || LFT || RT
|
||||
|
||||
buttons = newbutton
|
||||
buttons = (newbutton
|
||||
#if HAS_SLOW_BUTTONS
|
||||
| slow_buttons
|
||||
#endif
|
||||
;
|
||||
);
|
||||
|
||||
#elif HAS_ADC_BUTTONS
|
||||
|
||||
|
@ -1254,13 +1254,13 @@ void MarlinUI::update() {
|
|||
|
||||
#if HAS_SHIFT_ENCODER
|
||||
|
||||
GET_SHIFT_BUTTON_STATES(
|
||||
GET_SHIFT_BUTTON_STATES((
|
||||
#if ENABLED(REPRAPWORLD_KEYPAD)
|
||||
keypad_buttons
|
||||
#else
|
||||
buttons
|
||||
#endif
|
||||
);
|
||||
));
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue