Skip to content

Commit

Permalink
The Filament runout icon update
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasToka committed Jul 12, 2023
1 parent 20a88f5 commit 59f98b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Marlin/src/lcd/rts/e3s1pro/lcd_rts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ void RTSSHOW::RTS_Init(void)
RTS_SndData(lang == 1 ? CORP_WEBSITE_C : CORP_WEBSITE_E, WEBSITE_ABOUT_TEXT_VP);

RTS_SndData(recovery.enabled ? 0 : 1, POWERCONTINUE_CONTROL_ICON_VP);
RTS_SndData(runout.enabled ? 0 : 1, FILAMENT_CONTROL_ICON_VP);
RTS_SndData(runout.enabled ? 101 : 102, FILAMENT_CONTROL_ICON_VP);

if (g_soundSetOffOn == 2) {
RTS_SndData(DC_SOUND_SET_OFF, DC_SOUND_SET_DDR);
Expand Down Expand Up @@ -1366,12 +1366,12 @@ void RTSSHOW::RTS_HandleData(void)
{
if(runout.enabled)
{
RTS_SndData(1, FILAMENT_CONTROL_ICON_VP);
RTS_SndData(102, FILAMENT_CONTROL_ICON_VP);
runout.enabled = false;
}
else
{
RTS_SndData(0, FILAMENT_CONTROL_ICON_VP);
RTS_SndData(101, FILAMENT_CONTROL_ICON_VP);
runout.enabled = true;
}
settings.save();
Expand Down

0 comments on commit 59f98b3

Please sign in to comment.