ENH:support u0 firmware homing

jira:[none]

Change-Id: I9533944c343007897d25929739e5eb175bad6689
(cherry picked from commit 533911e2cd46fadc92bd7d908e81ad51ce14944c)
This commit is contained in:
tao wang
2025-01-18 12:43:32 +08:00
committed by Noisyfox
parent 50fe1f7312
commit e8f5b374b2
3 changed files with 3 additions and 1 deletions

View File

@@ -3315,7 +3315,7 @@ void StatusPanel::on_axis_ctrl_xy(wxCommandEvent &event)
if (event.GetInt() == 6) { obj->command_axis_control("Y", 1.0, -1.0f, 3000); }
if (event.GetInt() == 7) { obj->command_axis_control("X", 1.0, 1.0f, 3000); }
if (event.GetInt() == 8) {
if (obj->is_enable_np) {
if (obj->is_support_command_homing) {
obj->command_go_home2();
} else {
obj->command_go_home();