Skip to content

Comments

[RFC] Adds the ability to have G29 execute a recovery and retry (10444)#10448

Closed
marcio-ao wants to merge 5 commits intoMarlinFirmware:bugfix-1.1.xfrom
marcio-ao:rfc-retry-on-probe-fail
Closed

[RFC] Adds the ability to have G29 execute a recovery and retry (10444)#10448
marcio-ao wants to merge 5 commits intoMarlinFirmware:bugfix-1.1.xfrom
marcio-ao:rfc-retry-on-probe-fail

Conversation

@marcio-ao
Copy link
Contributor

@thinkyhead: This isn't really a pull request, but simply soliciting your feedback on an implementation of the functionality I was asking about in 10444.

This code shows how to add a recover and retry option to G29 whose exact behavior can be controlled by the user in "Configuration.h" using a GCODE "macro". This implementation gets around the limitations of "enqueue_and_echo_commands_P" by executing the GCODE immediately using a new function "execute_commands_immediate_P".

- Adds execute_commands_immediate_P() to execute GCODE macros from other GCODES.
- Adds a G29_RECOVER_AND_RETRY which allows the user to specify a recovery sequence
  in G29_RECOVERY_COMMANDS
@marcio-ao
Copy link
Contributor Author

This has been replaced by #10450 on the bugfix-2.0.x branch

@marcio-ao marcio-ao closed this Apr 18, 2018
@marcio-ao marcio-ao deleted the rfc-retry-on-probe-fail branch May 8, 2018 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant