Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct New Laser Inline Code #18237

Merged

Conversation

shitcreek
Copy link
Contributor

@shitcreek shitcreek commented Jun 8, 2020

New laser code has compilation issues as pointed out by @gminadak : #17661 (comment)
Issue was planner.laser_inline.status now needs to be planner.laser_inline.status.isEnabled
Also trap_en and laser in Stepper.h are now enable and laser_trap respectively

planner.laser_inline.status.isPlanned = true is in planner.cpp instead of spindle_laser.h because the latter would not turn the laser off in between moves and at end of the job.

Update 'trap_en' to 'enabled' and 'laser' to
'laser_trap' in Stepper.h
Update instances of 'planner.laser_inline.status' to 'planner.laser_inline.status.isPlanned or isEnabled'
@thinkyhead thinkyhead merged commit 0fa345f into MarlinFirmware:bugfix-2.0.x Jun 9, 2020
jmp0x0000 pushed a commit to jmp0x0000/Marlin that referenced this pull request Aug 7, 2020
HairingX pushed a commit to HairingX/Marlin that referenced this pull request Jun 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants