Skip to content

Commit

Permalink
auto cr-touch point 1 fix / screen v003 release
Browse files Browse the repository at this point in the history
- point 1 was misscalculated on cr-touch autorun. fixed.
- screen v003 incl source release
  • Loading branch information
ThomasToka committed Jul 19, 2023
1 parent 0773c09 commit 59239d2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Marlin/src/lcd/rts/e3s1pro/lcd_rts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2675,10 +2675,15 @@ void RTSSHOW::RTS_HandleData(void)
sprintf_P(cmd9, "G30 X%d Y%d", manual_level_5position[4][0],manual_level_5position[4][1]);
queue.enqueue_now_P(cmd9);
// Finally center
char cmd10[20];
sprintf_P(cmd10, "G30 X%d Y%d", (X_BED_SIZE/2),(Y_BED_SIZE/2));
queue.enqueue_now_P(cmd10);

#if ENABLED(ENDER_3S1_PRO) || ENABLED(ENDER_3S1)
queue.enqueue_now_P(PSTR("G30 X117.5 Y117.5"));
#elif ENABLED(ENDER_3S1_PLUS)
queue.enqueue_now_P(PSTR("G30 X155 Y157.5"));
#else
char cmd1[20];
sprintf_P(cmd1, "G30 X%d Y%d", manual_level_5position[0][0],manual_level_5position[0][1]);
queue.enqueue_now_P(cmd1);
#endif
RTS_SndData(ExchangePageBase + 89, ExchangepageAddr);
change_page_font = 89;
}
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 59239d2

Please sign in to comment.