MCPcopy Create free account
hub / github.com/MarlinFirmware/Marlin / LOOP_NUM_AXES

Function LOOP_NUM_AXES

Marlin/src/module/planner.cpp:2293–2298  ·  view source on GitHub ↗

Linear axes first with less logic

Source from the content-addressed store, hash-verified

2291
2292 // Linear axes first with less logic
2293 LOOP_NUM_AXES(i) {
2294 current_speed[i] = dist_mm[i] * inverse_secs;
2295 const feedRate_t cs = ABS(current_speed[i]),
2296 max_fr = settings.max_feedrate_mm_s[i];
2297 if (cs > max_fr) NOMORE(speed_factor, max_fr / cs);
2298 }
2299
2300 // Limit speed on extruders, if any
2301 #if HAS_EXTRUDERS

Callers 8

postprocessMethod · 0.70
saveMethod · 0.70
_loadMethod · 0.70
resetMethod · 0.70
home_TPARAFunction · 0.70
buffer_sync_blockMethod · 0.70
homing_needed_errorFunction · 0.70

Calls 2

ABSFunction · 0.85
NOMOREFunction · 0.85

Tested by

no test coverage detected