Skip to content

Commit

Permalink
🚸 DOGM active extruder indicator (MarlinFirmware#26152)
Browse files Browse the repository at this point in the history
  • Loading branch information
ansonl committed Jan 23, 2024
1 parent 4309e6a commit f1a5340
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Marlin/src/lcd/dogm/status/hotend.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@

#elif STATUS_HOTEND_BITMAPS > 1

const unsigned char status_active_extruder_indicator_bmp[] PROGMEM = {
B00110000,
B00011000,
B00001100,
B00011000,
B00110000
};

#ifdef STATUS_HOTEND_ANIM

const unsigned char status_hotend1_a_bmp[] PROGMEM = {
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/lcd/dogm/status_screen_DOGM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,11 @@ FORCE_INLINE void _draw_centered_temp(const celsius_t temp, const uint8_t tx, co

} // PAGE_CONTAINS

#if HAS_MULTI_EXTRUDER && DISABLED(SLIM_LCD_MENUS)
if (active_extruder == heater_id)
u8g.drawBitmapP(_MAX(0, STATUS_HOTEND_X(heater_id) - 6), STATUS_HEATERS_Y + 3, 1, 5, status_active_extruder_indicator_bmp);
#endif

#endif // !STATUS_COMBINE_HEATERS

if (PAGE_UNDER(7)) {
Expand Down

0 comments on commit f1a5340

Please sign in to comment.