Browse Source

Patch tabs, heater led tests

pull/1/head
Scott Lahteine 5 years ago
parent
commit
e6dfc991ae
  1. 4
      Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp
  2. 8
      Marlin/src/lcd/ultralcd.cpp

4
Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp

@ -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

8
Marlin/src/lcd/ultralcd.cpp

@ -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…
Cancel
Save