From 4335238131d75cff87476c86d8ca0a6bbc0d7685 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Thu, 8 Jun 2023 22:03:08 +0200 Subject: [PATCH] Fix anycubics typos in laser implementation. --- .../src/lcd/extui/knutwurst/anycubic_touchscreen.cpp | 4 ++-- Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.h | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp index 32a736fa..a15a6eb3 100755 --- a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp +++ b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp @@ -161,8 +161,8 @@ } void send_pic_param() { - SEND_PGM("A45V W"); LCD_SERIAL.print(Laser_printer_st.pic_widht); - SEND_PGM( " H"); LCD_SERIAL(Laser_printer_st.pic_hight); + SEND_PGM("A45V W"); LCD_SERIAL.print(Laser_printer_st.pic_width); + SEND_PGM( " H"); LCD_SERIAL(Laser_printer_st.pic_height); SENDLINE_PGM(" "); } diff --git a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.h b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.h index 5f8cdefa..72f2f49a 100755 --- a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.h +++ b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.h @@ -307,12 +307,12 @@ uint8_t CaseLight = true; float x_offset; float y_offset; - unsigned int pic_realy_widht; - unsigned int pic_widht; - unsigned int pic_hight; + unsigned int pic_real_width; + unsigned int pic_width; + unsigned int pic_height; unsigned char pic_bit; - unsigned char pic_widht_odd; - unsigned char pic_hight_odd; + unsigned char pic_width_odd; + unsigned char pic_height_odd; unsigned char pic_print_status; unsigned char pic_dir;