Skip to content

Commit

Permalink
already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jun 14, 2021
1 parent 320f559 commit b877ce1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Marlin/src/lcd/extui/ui_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1021,8 +1021,7 @@ namespace ExtUI {
TERN_(HAS_FAN, thermalManager.zero_fan_speeds());
}

bool awaitingUserConfirm() { return wait_for_user; }
bool isWaitingOnUser() { return TERN0(HAS_RESUME_CONTINUE, wait_for_user); }
bool awaitingUserConfirm() { return TERN0(HAS_RESUME_CONTINUE, wait_for_user); }
void setUserConfirmed() { TERN_(HAS_RESUME_CONTINUE, wait_for_user = false); }

void printFile(const char *filename) {
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/lcd/extui/ui_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ namespace ExtUI {
void setTravelAcceleration_mm_s2(const_float_t );
void setFeedrate_percent(const_float_t );
void setFlow_percent(const int16_t, const extruder_t);
bool isWaitingOnUser();
bool awaitingUserConfirm();
void setUserConfirmed();

#if ENABLED(LIN_ADVANCE)
Expand Down

0 comments on commit b877ce1

Please sign in to comment.