Adjustable XY_FREQUENCY_LIMIT (#17583)
This commit is contained in:
		| @@ -60,6 +60,11 @@ void GcodeSuite::M201() { | ||||
|   const int8_t target_extruder = get_target_extruder_from_command(); | ||||
|   if (target_extruder < 0) return; | ||||
|  | ||||
|   #ifdef XY_FREQUENCY_LIMIT | ||||
|     if (parser.seenval('F')) planner.set_frequency_limit(parser.value_byte()); | ||||
|     if (parser.seenval('G')) planner.xy_freq_min_speed_factor = constrain(parser.value_float(), 1, 100) / 100; | ||||
|   #endif | ||||
|  | ||||
|   LOOP_XYZE(i) { | ||||
|     if (parser.seen(axis_codes[i])) { | ||||
|       const uint8_t a = (i == E_AXIS ? uint8_t(E_AXIS_N(target_extruder)) : i); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user