|
@@ -45,6 +45,9 @@
|
45
|
45
|
#include "../../inc/MarlinConfig.h"
|
46
|
46
|
#include "../marlinui.h"
|
47
|
47
|
#include "../../gcode/gcode.h"
|
|
48
|
+#if M600_PURGE_MORE_RESUMABLE
|
|
49
|
+ #include "../../feature/pause.h"
|
|
50
|
+#endif
|
48
|
51
|
|
49
|
52
|
namespace ExtUI {
|
50
|
53
|
|
|
@@ -79,7 +82,8 @@ namespace ExtUI {
|
79
|
82
|
void injectCommands(char * const);
|
80
|
83
|
bool commandsInQueue();
|
81
|
84
|
|
82
|
|
- GcodeSuite::MarlinBusyState getMachineBusyState();
|
|
85
|
+ GcodeSuite::MarlinBusyState getHostKeepaliveState();
|
|
86
|
+ bool getHostKeepaliveIsPaused();
|
83
|
87
|
|
84
|
88
|
bool isHeaterIdle(const heater_t);
|
85
|
89
|
bool isHeaterIdle(const extruder_t);
|
|
@@ -220,14 +224,18 @@ namespace ExtUI {
|
220
|
224
|
void setFeedrate_mm_s(const feedRate_t);
|
221
|
225
|
void setMinFeedrate_mm_s(const feedRate_t);
|
222
|
226
|
void setMinTravelFeedrate_mm_s(const feedRate_t);
|
223
|
|
- void setPrintingAcceleration_mm_s2(const_float_t );
|
224
|
|
- void setRetractAcceleration_mm_s2(const_float_t );
|
225
|
|
- void setTravelAcceleration_mm_s2(const_float_t );
|
226
|
|
- void setFeedrate_percent(const_float_t );
|
|
227
|
+ void setPrintingAcceleration_mm_s2(const_float_t);
|
|
228
|
+ void setRetractAcceleration_mm_s2(const_float_t);
|
|
229
|
+ void setTravelAcceleration_mm_s2(const_float_t);
|
|
230
|
+ void setFeedrate_percent(const_float_t);
|
227
|
231
|
void setFlow_percent(const int16_t, const extruder_t);
|
228
|
232
|
bool awaitingUserConfirm();
|
229
|
233
|
void setUserConfirmed();
|
230
|
234
|
|
|
235
|
+ #if M600_PURGE_MORE_RESUMABLE
|
|
236
|
+ void setPauseMenuResponse(PauseMenuResponse);
|
|
237
|
+ #endif
|
|
238
|
+
|
231
|
239
|
#if ENABLED(LIN_ADVANCE)
|
232
|
240
|
float getLinearAdvance_mm_mm_s(const extruder_t);
|
233
|
241
|
void setLinearAdvance_mm_mm_s(const_float_t, const extruder_t);
|
|
@@ -235,7 +243,7 @@ namespace ExtUI {
|
235
|
243
|
|
236
|
244
|
#if HAS_JUNCTION_DEVIATION
|
237
|
245
|
float getJunctionDeviation_mm();
|
238
|
|
- void setJunctionDeviation_mm(const_float_t );
|
|
246
|
+ void setJunctionDeviation_mm(const_float_t);
|
239
|
247
|
#else
|
240
|
248
|
float getAxisMaxJerk_mm_s(const axis_t);
|
241
|
249
|
float getAxisMaxJerk_mm_s(const extruder_t);
|
|
@@ -262,7 +270,7 @@ namespace ExtUI {
|
262
|
270
|
#endif
|
263
|
271
|
|
264
|
272
|
float getZOffset_mm();
|
265
|
|
- void setZOffset_mm(const_float_t );
|
|
273
|
+ void setZOffset_mm(const_float_t);
|
266
|
274
|
|
267
|
275
|
#if HAS_BED_PROBE
|
268
|
276
|
float getProbeOffset_mm(const axis_t);
|
|
@@ -274,11 +282,11 @@ namespace ExtUI {
|
274
|
282
|
void setAxisBacklash_mm(const_float_t, const axis_t);
|
275
|
283
|
|
276
|
284
|
float getBacklashCorrection_percent();
|
277
|
|
- void setBacklashCorrection_percent(const_float_t );
|
|
285
|
+ void setBacklashCorrection_percent(const_float_t);
|
278
|
286
|
|
279
|
287
|
#ifdef BACKLASH_SMOOTHING_MM
|
280
|
288
|
float getBacklashSmoothing_mm();
|
281
|
|
- void setBacklashSmoothing_mm(const_float_t );
|
|
289
|
+ void setBacklashSmoothing_mm(const_float_t);
|
282
|
290
|
#endif
|
283
|
291
|
#endif
|
284
|
292
|
|
|
@@ -290,7 +298,7 @@ namespace ExtUI {
|
290
|
298
|
|
291
|
299
|
#if HAS_FILAMENT_RUNOUT_DISTANCE
|
292
|
300
|
float getFilamentRunoutDistance_mm();
|
293
|
|
- void setFilamentRunoutDistance_mm(const_float_t );
|
|
301
|
+ void setFilamentRunoutDistance_mm(const_float_t);
|
294
|
302
|
#endif
|
295
|
303
|
#endif
|
296
|
304
|
|
|
@@ -300,7 +308,7 @@ namespace ExtUI {
|
300
|
308
|
|
301
|
309
|
#if DISABLED(CASE_LIGHT_NO_BRIGHTNESS)
|
302
|
310
|
float getCaseLightBrightness_percent();
|
303
|
|
- void setCaseLightBrightness_percent(const_float_t );
|
|
311
|
+ void setCaseLightBrightness_percent(const_float_t);
|
304
|
312
|
#endif
|
305
|
313
|
#endif
|
306
|
314
|
|
|
@@ -309,15 +317,15 @@ namespace ExtUI {
|
309
|
317
|
float getPIDValues_Ki(const extruder_t);
|
310
|
318
|
float getPIDValues_Kd(const extruder_t);
|
311
|
319
|
void setPIDValues(const_float_t, const_float_t , const_float_t , extruder_t);
|
312
|
|
- void startPIDTune(const_float_t, extruder_t);
|
|
320
|
+ void startPIDTune(const celsius_t, extruder_t);
|
313
|
321
|
#endif
|
314
|
322
|
|
315
|
323
|
#if ENABLED(PIDTEMPBED)
|
316
|
324
|
float getBedPIDValues_Kp();
|
317
|
325
|
float getBedPIDValues_Ki();
|
318
|
326
|
float getBedPIDValues_Kd();
|
319
|
|
- void setBedPIDValues(const_float_t, const_float_t , const_float_t );
|
320
|
|
- void startBedPIDTune(const_float_t );
|
|
327
|
+ void setBedPIDValues(const_float_t, const_float_t , const_float_t);
|
|
328
|
+ void startBedPIDTune(const celsius_t);
|
321
|
329
|
#endif
|
322
|
330
|
|
323
|
331
|
/**
|