Improvements for Laser / Spindle (#17661)
This commit is contained in:
@ -129,7 +129,7 @@ uint8_t Planner::delay_before_delivering; // This counter delays delivery
|
||||
planner_settings_t Planner::settings; // Initialized by settings.load()
|
||||
|
||||
#if ENABLED(LASER_POWER_INLINE)
|
||||
laser_state_t Planner::laser; // Current state for blocks
|
||||
laser_state_t Planner::laser_inline; // Current state for blocks
|
||||
#endif
|
||||
|
||||
uint32_t Planner::max_acceleration_steps_per_s2[XYZE_N]; // (steps/s^2) Derived from mm_per_s2
|
||||
@ -1693,7 +1693,7 @@ bool Planner::_buffer_steps(const xyze_long_t &target
|
||||
* fr_mm_s - (target) speed of the move
|
||||
* extruder - target extruder
|
||||
*
|
||||
* Returns true is movement is acceptable, false otherwise
|
||||
* Returns true if movement is acceptable, false otherwise
|
||||
*/
|
||||
bool Planner::_populate_block(block_t * const block, bool split_move,
|
||||
const abce_long_t &target
|
||||
@ -1803,8 +1803,8 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
|
||||
|
||||
// Update block laser power
|
||||
#if ENABLED(LASER_POWER_INLINE)
|
||||
block->laser.status = laser.status;
|
||||
block->laser.power = laser.power;
|
||||
block->laser.status = laser_inline.status;
|
||||
block->laser.power = laser_inline.power;
|
||||
#endif
|
||||
|
||||
// Number of steps for each axis
|
||||
|
Reference in New Issue
Block a user