🚸 DOGM active extruder indicator (#26152)

This commit is contained in:
Anson Liu 2024-01-23 08:24:49 -08:00 committed by GitHub
parent 4309e6ab76
commit f1a53407e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 0 deletions

View file

@ -90,6 +90,14 @@
#elif STATUS_HOTEND_BITMAPS > 1 #elif STATUS_HOTEND_BITMAPS > 1
const unsigned char status_active_extruder_indicator_bmp[] PROGMEM = {
B00110000,
B00011000,
B00001100,
B00011000,
B00110000
};
#ifdef STATUS_HOTEND_ANIM #ifdef STATUS_HOTEND_ANIM
const unsigned char status_hotend1_a_bmp[] PROGMEM = { const unsigned char status_hotend1_a_bmp[] PROGMEM = {

View file

@ -323,6 +323,11 @@ FORCE_INLINE void _draw_centered_temp(const celsius_t temp, const uint8_t tx, co
} // PAGE_CONTAINS } // 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 #endif // !STATUS_COMBINE_HEATERS
if (PAGE_UNDER(7)) { if (PAGE_UNDER(7)) {