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

Home All does 2 homing actions. #66

Open
henrivdr opened this issue Apr 2, 2024 · 1 comment
Open

Home All does 2 homing actions. #66

henrivdr opened this issue Apr 2, 2024 · 1 comment

Comments

@henrivdr
Copy link

henrivdr commented Apr 2, 2024

Hi
On the CR10-SE the "Home All" button does 2 home routines in a row.

I looked at the code but cannot see why. It just calls G28 once.
Maybe the HomingPanel::handle_callback() is called twice.

if (btn == home_xy_btn.get_container()) {
    spdlog::debug("home xy pressed");
    ws.gcode_script("G28 X Y");

Happy to fix it and do a PR if you can guide me where else to look for the issue.

@ballaswag
Copy link
Owner

Maybe the button is press twice and the second one gets queued?

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

No branches or pull requests

2 participants