Skip to content

Commit

Permalink
Fix compile error w/out LCD (MarlinFirmware#16502)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellensp authored and thinkyhead committed Jan 9, 2020
1 parent 36d08f8 commit 669fe74
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Marlin/src/module/motion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1253,9 +1253,13 @@ void do_homing_move(const AxisEnum axis, const float distance, const feedRate_t
// Wait for bed to heat back up between probing points
if (axis == Z_AXIS && distance < 0 && thermalManager.isHeatingBed()) {
serialprintPGM(msg_wait_for_bed_heating);
LCD_MESSAGEPGM(MSG_BED_HEATING);
#if HAS_DISPLAY
LCD_MESSAGEPGM(MSG_BED_HEATING);
#endif
thermalManager.wait_for_bed();
ui.reset_status();
#if HAS_DISPLAY
ui.reset_status();
#endif
}
#endif

Expand Down

0 comments on commit 669fe74

Please sign in to comment.