|
@@ -33,6 +33,7 @@
|
33
|
33
|
#include "../../marlinui.h"
|
34
|
34
|
#include "../../../MarlinCore.h"
|
35
|
35
|
|
|
36
|
+#include "../../../gcode/gcode.h"
|
36
|
37
|
#include "../../../module/temperature.h"
|
37
|
38
|
#include "../../../module/planner.h"
|
38
|
39
|
#include "../../../module/settings.h"
|
|
@@ -180,6 +181,7 @@ bool probe_deployed = false;
|
180
|
181
|
CrealityDWINClass CrealityDWIN;
|
181
|
182
|
|
182
|
183
|
#if HAS_MESH
|
|
184
|
+
|
183
|
185
|
struct Mesh_Settings {
|
184
|
186
|
bool viewer_asymmetric_range = false;
|
185
|
187
|
bool viewer_print_value = false;
|
|
@@ -362,7 +364,7 @@ CrealityDWINClass CrealityDWIN;
|
362
|
364
|
if (v_min > 3e+10F) v_min = 0.0000001;
|
363
|
365
|
if (v_max > 3e+10F) v_max = 0.0000001;
|
364
|
366
|
if (range > 3e+10F) range = 0.0000001;
|
365
|
|
- char msg[32];
|
|
367
|
+ char msg[46];
|
366
|
368
|
if (viewer_asymmetric_range) {
|
367
|
369
|
dtostrf(-v_min, 1, 3, str_1);
|
368
|
370
|
dtostrf( v_max, 1, 3, str_2);
|
|
@@ -378,7 +380,8 @@ CrealityDWINClass CrealityDWIN;
|
378
|
380
|
|
379
|
381
|
};
|
380
|
382
|
Mesh_Settings mesh_conf;
|
381
|
|
-#endif
|
|
383
|
+
|
|
384
|
+#endif // HAS_MESH
|
382
|
385
|
|
383
|
386
|
/* General Display Functions */
|
384
|
387
|
|