Skip to content

Commit 48d5fae

Browse files
Malderinthinkyhead
authored andcommitted
Fix Bed Tramming 5th point (#21646)
1 parent 3153080 commit 48d5fae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Marlin/src/lcd/extui/lib/mks_ui/draw_tramming_pos_settings.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static void event_handler(lv_obj_t *obj, lv_event_t event) {
8181
value = level_pos_y4;
8282
break;
8383
case ID_MANUAL_POS_X5:
84-
value = level_pos_y5;
84+
value = level_pos_x5;
8585
break;
8686
case ID_MANUAL_POS_Y5:
8787
value = level_pos_y5;
@@ -128,7 +128,7 @@ void lv_draw_tramming_pos_settings() {
128128
else {
129129
itoa(gCfgItems.trammingPos[4].x, public_buf_l, 10);
130130
itoa(gCfgItems.trammingPos[4].y, buf2, 10);
131-
lv_screen_menu_item_2_edit(scr, leveling_menu.position4, PARA_UI_POS_X, PARA_UI_POS_Y, event_handler, ID_MANUAL_POS_Y5, 0, buf2, ID_MANUAL_POS_X5, public_buf_l);
131+
lv_screen_menu_item_2_edit(scr, leveling_menu.position5, PARA_UI_POS_X, PARA_UI_POS_Y, event_handler, ID_MANUAL_POS_Y5, 0, buf2, ID_MANUAL_POS_X5, public_buf_l);
132132

133133
lv_big_button_create(scr, "F:/bmp_back70x40.bin", machine_menu.previous, PARA_UI_TURN_PAGE_POS_X, PARA_UI_TURN_PAGE_POS_Y, event_handler, ID_MANUAL_POS_UP, true);
134134
}

0 commit comments

Comments
 (0)