Skip to content

Commit

Permalink
wait_for_bed_heating always says "heating"
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jun 14, 2021
1 parent b83f112 commit 4869236
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/module/temperature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3774,8 +3774,8 @@ void Temperature::isr() {
return false;
}

void Temperature::wait_for_bed_heating(const bool no_wait_for_cooling/*=true*/) {
if (isHeatingBed() || !no_wait_for_cooling ) {
void Temperature::wait_for_bed_heating() {
if (isHeatingBed()) {
SERIAL_ECHOLNPGM("Wait for bed heating...");
LCD_MESSAGEPGM(MSG_BED_HEATING);
wait_for_bed(no_wait_for_cooling);
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/module/temperature.h
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ class Temperature {
OPTARG(G26_CLICK_CAN_CANCEL, const bool click_to_cancel=false)
);

static void wait_for_bed_heating(const bool no_wait_for_cooling=true);
static void wait_for_bed_heating();

static inline bool degBedNear(const celsius_t temp) {
return ABS(wholeDegBed() - temp) < (TEMP_BED_HYSTERESIS);
Expand Down

0 comments on commit 4869236

Please sign in to comment.