ballaswag / guppyscreen

A native Touch UI for 3D Printers running Klipper/Moonraker.
GNU General Public License v3.0
166 stars 14 forks source link

Home All does 2 homing actions. #66

Open henrivdr opened 1 month ago

henrivdr commented 1 month ago

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 commented 1 month ago

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