|
@@ -36,7 +36,7 @@
|
36
|
36
|
*
|
37
|
37
|
*/
|
38
|
38
|
|
39
|
|
-#define EEPROM_VERSION "V24"
|
|
39
|
+#define EEPROM_VERSION "V25"
|
40
|
40
|
|
41
|
41
|
// Change EEPROM version if these are changed:
|
42
|
42
|
#define EEPROM_OFFSET 100
|
|
@@ -105,24 +105,21 @@
|
105
|
105
|
* DOGLCD:
|
106
|
106
|
* 379 M250 C lcd_contrast (int)
|
107
|
107
|
*
|
108
|
|
- * SCARA:
|
109
|
|
- * 381 M365 XYZ axis_scaling (float x3)
|
110
|
|
- *
|
111
|
108
|
* FWRETRACT:
|
112
|
|
- * 393 M209 S autoretract_enabled (bool)
|
113
|
|
- * 394 M207 S retract_length (float)
|
114
|
|
- * 398 M207 W retract_length_swap (float)
|
115
|
|
- * 402 M207 F retract_feedrate_mm_s (float)
|
116
|
|
- * 406 M207 Z retract_zlift (float)
|
117
|
|
- * 410 M208 S retract_recover_length (float)
|
118
|
|
- * 414 M208 W retract_recover_length_swap (float)
|
119
|
|
- * 418 M208 F retract_recover_feedrate_mm_s (float)
|
|
109
|
+ * 381 M209 S autoretract_enabled (bool)
|
|
110
|
+ * 382 M207 S retract_length (float)
|
|
111
|
+ * 386 M207 W retract_length_swap (float)
|
|
112
|
+ * 390 M207 F retract_feedrate_mm_s (float)
|
|
113
|
+ * 394 M207 Z retract_zlift (float)
|
|
114
|
+ * 398 M208 S retract_recover_length (float)
|
|
115
|
+ * 402 M208 W retract_recover_length_swap (float)
|
|
116
|
+ * 406 M208 F retract_recover_feedrate_mm_s (float)
|
120
|
117
|
*
|
121
|
118
|
* Volumetric Extrusion:
|
122
|
|
- * 422 M200 D volumetric_enabled (bool)
|
123
|
|
- * 423 M200 T D filament_size (float x4) (T0..3)
|
|
119
|
+ * 410 M200 D volumetric_enabled (bool)
|
|
120
|
+ * 411 M200 T D filament_size (float x4) (T0..3)
|
124
|
121
|
*
|
125
|
|
- * 439 This Slot is Available!
|
|
122
|
+ * 427 This Slot is Available!
|
126
|
123
|
*
|
127
|
124
|
*/
|
128
|
125
|
#include "Marlin.h"
|
|
@@ -330,13 +327,6 @@ void Config_StoreSettings() {
|
330
|
327
|
#endif
|
331
|
328
|
EEPROM_WRITE(lcd_contrast);
|
332
|
329
|
|
333
|
|
- #if IS_SCARA
|
334
|
|
- EEPROM_WRITE(axis_scaling); // 3 floats
|
335
|
|
- #else
|
336
|
|
- dummy = 1.0f;
|
337
|
|
- EEPROM_WRITE(dummy);
|
338
|
|
- #endif
|
339
|
|
-
|
340
|
330
|
#if ENABLED(FWRETRACT)
|
341
|
331
|
EEPROM_WRITE(autoretract_enabled);
|
342
|
332
|
EEPROM_WRITE(retract_length);
|
|
@@ -520,12 +510,6 @@ void Config_RetrieveSettings() {
|
520
|
510
|
#endif
|
521
|
511
|
EEPROM_READ(lcd_contrast);
|
522
|
512
|
|
523
|
|
- #if IS_SCARA
|
524
|
|
- EEPROM_READ(axis_scaling); // 3 floats
|
525
|
|
- #else
|
526
|
|
- EEPROM_READ(dummy);
|
527
|
|
- #endif
|
528
|
|
-
|
529
|
513
|
#if ENABLED(FWRETRACT)
|
530
|
514
|
EEPROM_READ(autoretract_enabled);
|
531
|
515
|
EEPROM_READ(retract_length);
|
|
@@ -584,10 +568,6 @@ void Config_ResetDefault() {
|
584
|
568
|
planner.axis_steps_per_mm[i] = tmp1[i];
|
585
|
569
|
planner.max_feedrate_mm_s[i] = tmp2[i];
|
586
|
570
|
planner.max_acceleration_mm_per_s2[i] = tmp3[i];
|
587
|
|
- #if IS_SCARA
|
588
|
|
- if (i < COUNT(axis_scaling))
|
589
|
|
- axis_scaling[i] = 1;
|
590
|
|
- #endif
|
591
|
571
|
}
|
592
|
572
|
|
593
|
573
|
planner.acceleration = DEFAULT_ACCELERATION;
|
|
@@ -716,18 +696,6 @@ void Config_PrintSettings(bool forReplay) {
|
716
|
696
|
|
717
|
697
|
CONFIG_ECHO_START;
|
718
|
698
|
|
719
|
|
- #if IS_SCARA
|
720
|
|
- if (!forReplay) {
|
721
|
|
- SERIAL_ECHOLNPGM("Scaling factors:");
|
722
|
|
- CONFIG_ECHO_START;
|
723
|
|
- }
|
724
|
|
- SERIAL_ECHOPAIR(" M365 X", axis_scaling[X_AXIS]);
|
725
|
|
- SERIAL_ECHOPAIR(" Y", axis_scaling[Y_AXIS]);
|
726
|
|
- SERIAL_ECHOPAIR(" Z", axis_scaling[Z_AXIS]);
|
727
|
|
- SERIAL_EOL;
|
728
|
|
- CONFIG_ECHO_START;
|
729
|
|
- #endif // SCARA
|
730
|
|
-
|
731
|
699
|
if (!forReplay) {
|
732
|
700
|
SERIAL_ECHOLNPGM("Maximum feedrates (mm/s):");
|
733
|
701
|
CONFIG_ECHO_START;
|