🧑💻 Combined axis strings
This commit is contained in:
		@@ -48,7 +48,7 @@
 | 
			
		||||
void GcodeSuite::M907() {
 | 
			
		||||
  #if HAS_MOTOR_CURRENT_SPI
 | 
			
		||||
 | 
			
		||||
    if (!parser.seen("BS" LOGICAL_AXES_STRING))
 | 
			
		||||
    if (!parser.seen("BS" STR_AXES_LOGICAL))
 | 
			
		||||
      return M907_report();
 | 
			
		||||
 | 
			
		||||
    if (parser.seenval('S')) LOOP_L_N(i, MOTOR_CURRENT_COUNT) stepper.set_digipot_current(i, parser.value_int());
 | 
			
		||||
 
 | 
			
		||||
@@ -68,7 +68,7 @@ void GcodeSuite::G61() {
 | 
			
		||||
    SYNC_E(stored_position[slot].e);
 | 
			
		||||
  }
 | 
			
		||||
  else {
 | 
			
		||||
    if (parser.seen(NUM_AXIS_GANG("X", "Y", "Z", STR_I, STR_J, STR_K, STR_U, STR_V, STR_W))) {
 | 
			
		||||
    if (parser.seen(STR_AXES_MAIN)) {
 | 
			
		||||
      DEBUG_ECHOPGM(STR_RESTORING_POS " S", slot);
 | 
			
		||||
      LOOP_NUM_AXES(i) {
 | 
			
		||||
        destination[i] = parser.seenval(AXIS_CHAR(i))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user