Spindle/Laser power in planner blocks (#14437)

This commit is contained in:
Scott Lahteine
2019-10-15 16:10:20 -05:00
committed by GitHub
parent 53abfdc2c3
commit b7b303f4bf
9 changed files with 106 additions and 38 deletions

View File

@ -1667,6 +1667,10 @@ uint32_t Stepper::stepper_block_phase_isr() {
return interval; // No more queued movements!
}
#if HAS_CUTTER
cutter.apply_power(current_block->cutter_power);
#endif
#if ENABLED(POWER_LOSS_RECOVERY)
recovery.info.sdpos = current_block->sdpos;
#endif