Quellcode durchsuchen

Fix compile error w/out LCD (#16502)

ellensp vor 5 Jahren
Ursprung
Commit
669fe74096
1 geänderte Dateien mit 6 neuen und 2 gelöschten Zeilen
  1. 6
    2
      Marlin/src/module/motion.cpp

+ 6
- 2
Marlin/src/module/motion.cpp Datei anzeigen

@@ -1253,9 +1253,13 @@ void do_homing_move(const AxisEnum axis, const float distance, const feedRate_t
1253 1253
     // Wait for bed to heat back up between probing points
1254 1254
     if (axis == Z_AXIS && distance < 0 && thermalManager.isHeatingBed()) {
1255 1255
       serialprintPGM(msg_wait_for_bed_heating);
1256
-      LCD_MESSAGEPGM(MSG_BED_HEATING);
1256
+      #if HAS_DISPLAY
1257
+        LCD_MESSAGEPGM(MSG_BED_HEATING);
1258
+      #endif
1257 1259
       thermalManager.wait_for_bed();
1258
-      ui.reset_status();
1260
+      #if HAS_DISPLAY
1261
+        ui.reset_status();
1262
+      #endif
1259 1263
     }
1260 1264
   #endif
1261 1265
 

Laden…
Abbrechen
Speichern