* repair reverse_pass()
And make it readeble.
This was broken a long time ago.
Not competely unfunctional but far from optimal.
* Minor speedup when calling calculate_trapezoid_for_block
2 float / to 1 foat / and 2 float *
* Various style changes
staticvolatileuint8_tblock_buffer_head,// Index of the next block to be pushed
block_buffer_tail;
staticvolatileuint8_tblock_buffer_head,// Index of the next block to be pushed
block_buffer_tail;// Index of the busy block, if any
#if ENABLED(DISTINCT_E_FACTORS)
staticuint8_tlast_extruder;// Respond to extruder change
staticuint8_tlast_extruder;// Respond to extruder change
#endif
staticint16_tflow_percentage[EXTRUDERS];// Extrusion factor for each extruder
staticint16_tflow_percentage[EXTRUDERS];// Extrusion factor for each extruder
staticfloate_factor[EXTRUDERS],// The flow percentage and volumetric multiplier combine to scale E movement
filament_size[EXTRUDERS],// diameter of filament (in millimeters), typically around 1.75 or 2.85, 0 disables the volumetric calculations for the extruder
@ -156,7 +165,7 @@ class Planner {
volumetric_multiplier[EXTRUDERS];// Reciprocal of cross-sectional area of filament (in mm^2). Pre-calculated to reduce computation in the planner
// May be auto-adjusted by a filament width sensor
staticfloatmax_feedrate_mm_s[XYZE_N],// Max speeds in mm per second
staticfloatmax_feedrate_mm_s[XYZE_N],// Max speeds in mm per second