Skip to content

Commit

Permalink
Conditional Fix MarlinFirmware#2
Browse files Browse the repository at this point in the history
  • Loading branch information
Jyers committed May 12, 2021
1 parent d124d99 commit d3ac137
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions Marlin/src/lcd/extui/creality_dwin/creality_marlinui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,16 @@ void MarlinUI::set_brightness(const uint8_t value) {
}
}

void MarlinUI::pause_show_message(const PauseMessage message, const PauseMode mode/*=PAUSE_MODE_SAME*/, const uint8_t extruder/*=active_extruder*/) {
switch(message) {
case PAUSE_MESSAGE_OPTION:
CrealityDWIN.Popup_Handler(PurgeMore);
break;
default:
break;
#if ENABLED(ADVANCED_PAUSE_FEATURE)
void MarlinUI::pause_show_message(const PauseMessage message, const PauseMode mode/*=PAUSE_MODE_SAME*/, const uint8_t extruder/*=active_extruder*/) {
switch(message) {
case PAUSE_MESSAGE_OPTION:
CrealityDWIN.Popup_Handler(PurgeMore);
break;
default:
break;
}
}
}
#endif

#endif

0 comments on commit d3ac137

Please sign in to comment.