Browse Source

set_axis_not_trusted => set_axis_never_homed

Scott Lahteine 5 years ago
parent
commit
462d3eeab1

+ 1
- 1
Marlin/src/gcode/bedlevel/G35.cpp View File

176
   probe.stow();
176
   probe.stow();
177
 
177
 
178
   // After this operation the Z position needs correction
178
   // After this operation the Z position needs correction
179
-  set_axis_not_trusted(Z_AXIS);
179
+  set_axis_never_homed(Z_AXIS);
180
 
180
 
181
   // Home Z after the alignment procedure
181
   // Home Z after the alignment procedure
182
   process_subcommands_now_P(PSTR("G28Z"));
182
   process_subcommands_now_P(PSTR("G28Z"));

+ 1
- 1
Marlin/src/gcode/calibrate/G34_M422.cpp View File

346
 
346
 
347
     #if ENABLED(HOME_AFTER_G34)
347
     #if ENABLED(HOME_AFTER_G34)
348
       // After this operation the z position needs correction
348
       // After this operation the z position needs correction
349
-      set_axis_not_trusted(Z_AXIS);
349
+      set_axis_never_homed(Z_AXIS);
350
       // Home Z after the alignment procedure
350
       // Home Z after the alignment procedure
351
       process_subcommands_now_P(PSTR("G28Z"));
351
       process_subcommands_now_P(PSTR("G28Z"));
352
     #else
352
     #else

+ 4
- 4
Marlin/src/module/motion.cpp View File

1431
 }
1431
 }
1432
 
1432
 
1433
 /**
1433
 /**
1434
- * Set an axis' to be unhomed.
1434
+ * Set an axis to be unhomed.
1435
  */
1435
  */
1436
-void set_axis_not_trusted(const AxisEnum axis) {
1437
-  if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR(">>> set_axis_not_trusted(", axis_codes[axis], ")");
1436
+void set_axis_never_homed(const AxisEnum axis) {
1437
+  if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR(">>> set_axis_never_homed(", axis_codes[axis], ")");
1438
 
1438
 
1439
   CBI(axis_known_position, axis);
1439
   CBI(axis_known_position, axis);
1440
   CBI(axis_homed, axis);
1440
   CBI(axis_homed, axis);
1441
 
1441
 
1442
-  if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR("<<< set_axis_not_trusted(", axis_codes[axis], ")");
1442
+  if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR("<<< set_axis_never_homed(", axis_codes[axis], ")");
1443
 
1443
 
1444
   TERN_(I2C_POSITION_ENCODERS, I2CPEM.unhomed(axis));
1444
   TERN_(I2C_POSITION_ENCODERS, I2CPEM.unhomed(axis));
1445
 }
1445
 }

+ 1
- 1
Marlin/src/module/motion.h View File

251
 
251
 
252
 void set_axis_is_at_home(const AxisEnum axis);
252
 void set_axis_is_at_home(const AxisEnum axis);
253
 
253
 
254
-void set_axis_not_trusted(const AxisEnum axis);
254
+void set_axis_never_homed(const AxisEnum axis);
255
 
255
 
256
 void homeaxis(const AxisEnum axis);
256
 void homeaxis(const AxisEnum axis);
257
 
257
 

Loading…
Cancel
Save