Skip to content

Commit f1a5340

Browse files
authored
🚸 DOGM active extruder indicator (MarlinFirmware#26152)
1 parent 4309e6a commit f1a5340

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

Marlin/src/lcd/dogm/status/hotend.h

+8
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,14 @@
9090

9191
#elif STATUS_HOTEND_BITMAPS > 1
9292

93+
const unsigned char status_active_extruder_indicator_bmp[] PROGMEM = {
94+
B00110000,
95+
B00011000,
96+
B00001100,
97+
B00011000,
98+
B00110000
99+
};
100+
93101
#ifdef STATUS_HOTEND_ANIM
94102

95103
const unsigned char status_hotend1_a_bmp[] PROGMEM = {

Marlin/src/lcd/dogm/status_screen_DOGM.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,11 @@ FORCE_INLINE void _draw_centered_temp(const celsius_t temp, const uint8_t tx, co
323323

324324
} // PAGE_CONTAINS
325325

326+
#if HAS_MULTI_EXTRUDER && DISABLED(SLIM_LCD_MENUS)
327+
if (active_extruder == heater_id)
328+
u8g.drawBitmapP(_MAX(0, STATUS_HOTEND_X(heater_id) - 6), STATUS_HEATERS_Y + 3, 1, 5, status_active_extruder_indicator_bmp);
329+
#endif
330+
326331
#endif // !STATUS_COMBINE_HEATERS
327332

328333
if (PAGE_UNDER(7)) {

0 commit comments

Comments
 (0)