harmonize indentation in anycubic_touchscreen sources
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -63,180 +63,178 @@ char *ftostr32(const float &);
|
|||||||
#define ANYCUBIC_TFT_STATE_SDOUTAGE 99
|
#define ANYCUBIC_TFT_STATE_SDOUTAGE 99
|
||||||
|
|
||||||
#if DISABLED(KNUTWURST_DGUS2_TFT)
|
#if DISABLED(KNUTWURST_DGUS2_TFT)
|
||||||
#define SM_DIR_UP_L "/.."
|
#define SM_DIR_UP_L "/.."
|
||||||
#define SM_DIR_UP_S ".."
|
#define SM_DIR_UP_S ".."
|
||||||
#define SM_SPECIAL_MENU_L "<Special Menu>"
|
#define SM_SPECIAL_MENU_L "<Special Menu>"
|
||||||
#define SM_SPECIAL_MENU_S "<SPECM>"
|
#define SM_SPECIAL_MENU_S "<SPECM>"
|
||||||
#define SM_PID_HOTEND_L "<PID Tune Hotend>"
|
#define SM_PID_HOTEND_L "<PID Tune Hotend>"
|
||||||
#define SM_PID_HOTEND_S "<PIDHE>"
|
#define SM_PID_HOTEND_S "<PIDHE>"
|
||||||
#define SM_PID_BED_L "<PID Tune Ultrabase>"
|
#define SM_PID_BED_L "<PID Tune Ultrabase>"
|
||||||
#define SM_PID_BED_S "<PIDUB>"
|
#define SM_PID_BED_S "<PIDUB>"
|
||||||
#define SM_SAVE_EEPROM_L "<Save EEPROM>"
|
#define SM_SAVE_EEPROM_L "<Save EEPROM>"
|
||||||
#define SM_SAVE_EEPROM_S "<SAVEE>"
|
#define SM_SAVE_EEPROM_S "<SAVEE>"
|
||||||
#define SM_LOAD_DEFAULTS_L "<Load FW Defaults>"
|
#define SM_LOAD_DEFAULTS_L "<Load FW Defaults>"
|
||||||
#define SM_LOAD_DEFAULTS_S "<LDDEF>"
|
#define SM_LOAD_DEFAULTS_S "<LDDEF>"
|
||||||
#define SM_PREHEAT_BED_L "<Preheat Ultrabase>"
|
#define SM_PREHEAT_BED_L "<Preheat Ultrabase>"
|
||||||
#define SM_PREHEAT_BED_S "<PREHE>"
|
#define SM_PREHEAT_BED_S "<PREHE>"
|
||||||
#define SM_MESH_MENU_L "<Mesh Leveling>"
|
#define SM_MESH_MENU_L "<Mesh Leveling>"
|
||||||
#define SM_MESH_MENU_S "<MESHL>"
|
#define SM_MESH_MENU_S "<MESHL>"
|
||||||
#define SM_MESH_START_L "<Start Mesh Leveling>"
|
#define SM_MESH_START_L "<Start Mesh Leveling>"
|
||||||
#define SM_MESH_START_S "<SMESH>"
|
#define SM_MESH_START_S "<SMESH>"
|
||||||
#define SM_MESH_NEXT_L "<Next Mesh Point>"
|
#define SM_MESH_NEXT_L "<Next Mesh Point>"
|
||||||
#define SM_MESH_NEXT_S "<NEXTM>"
|
#define SM_MESH_NEXT_S "<NEXTM>"
|
||||||
#define SM_Z_UP_01_L "<Z Up 0.1>"
|
#define SM_Z_UP_01_L "<Z Up 0.1>"
|
||||||
#define SM_Z_UP_01_S "<ZUP01>"
|
#define SM_Z_UP_01_S "<ZUP01>"
|
||||||
#define SM_Z_DN_01_L "<Z Down 0.1>"
|
#define SM_Z_DN_01_L "<Z Down 0.1>"
|
||||||
#define SM_Z_DN_01_S "<ZDN01>"
|
#define SM_Z_DN_01_S "<ZDN01>"
|
||||||
#define SM_Z_UP_002_L "<Z Up 0.02>"
|
#define SM_Z_UP_002_L "<Z Up 0.02>"
|
||||||
#define SM_Z_UP_002_S "<ZUP002>"
|
#define SM_Z_UP_002_S "<ZUP002>"
|
||||||
#define SM_Z_DN_002_L "<Z Down 0.02>"
|
#define SM_Z_DN_002_L "<Z Down 0.02>"
|
||||||
#define SM_Z_DN_002_S "<ZDN002>"
|
#define SM_Z_DN_002_S "<ZDN002>"
|
||||||
#define SM_Z_UP_001_L "<Z Up 0.01>"
|
#define SM_Z_UP_001_L "<Z Up 0.01>"
|
||||||
#define SM_Z_UP_001_S "<ZUP001>"
|
#define SM_Z_UP_001_S "<ZUP001>"
|
||||||
#define SM_Z_DN_001_L "<Z Down 0.01>"
|
#define SM_Z_DN_001_L "<Z Down 0.01>"
|
||||||
#define SM_Z_DN_001_S "<ZDN001>"
|
#define SM_Z_DN_001_S "<ZDN001>"
|
||||||
#define SM_BLTOUCH_L "<Start Auto Leveling>"
|
#define SM_BLTOUCH_L "<Start Auto Leveling>"
|
||||||
#define SM_BLTOUCH_S "<BLTCH>"
|
#define SM_BLTOUCH_S "<BLTCH>"
|
||||||
#define SM_RESETLV_L "<Reset Level Grid>"
|
#define SM_RESETLV_L "<Reset Level Grid>"
|
||||||
#define SM_RESETLV_S "<RSTLV>"
|
#define SM_RESETLV_S "<RSTLV>"
|
||||||
#define SM_PAUSE_L "<Fil. Change Pause>"
|
#define SM_PAUSE_L "<Fil. Change Pause>"
|
||||||
#define SM_PAUSE_S "<PAUSE>"
|
#define SM_PAUSE_S "<PAUSE>"
|
||||||
#define SM_RESUME_L "<Fil. Change Resume>"
|
#define SM_RESUME_L "<Fil. Change Resume>"
|
||||||
#define SM_RESUME_S "<RESUM>"
|
#define SM_RESUME_S "<RESUM>"
|
||||||
#define SM_DIS_FILSENS_L "<Disable Fil. Sensor>"
|
#define SM_DIS_FILSENS_L "<Disable Fil. Sensor>"
|
||||||
#define SM_DIS_FILSENS_S "<DISSEN>"
|
#define SM_DIS_FILSENS_S "<DISSEN>"
|
||||||
#define SM_EN_FILSENS_L "<Enable Fil. Sensor>"
|
#define SM_EN_FILSENS_L "<Enable Fil. Sensor>"
|
||||||
#define SM_EN_FILSENS_S "<ENSEN>"
|
#define SM_EN_FILSENS_S "<ENSEN>"
|
||||||
#define SM_EXIT_L "<Exit>"
|
#define SM_EXIT_L "<Exit>"
|
||||||
#define SM_EXIT_S "<SMEXIT>"
|
#define SM_EXIT_S "<SMEXIT>"
|
||||||
|
|
||||||
#define SM_BACK_L "<End Mesh Leveling>"
|
#define SM_BACK_L "<End Mesh Leveling>"
|
||||||
#define SM_BACK_S "<BACK>"
|
#define SM_BACK_S "<BACK>"
|
||||||
|
|
||||||
#define SM_FLOWMENU_L "<Set Flowrate>"
|
#define SM_FLOWMENU_L "<Set Flowrate>"
|
||||||
#define SM_FLOWMENU_S "<SETFLO>"
|
#define SM_FLOWMENU_S "<SETFLO>"
|
||||||
#define SM_FLOW_DISP_L "<Flow is XXX>"
|
#define SM_FLOW_DISP_L "<Flow is XXX>"
|
||||||
#define SM_FLOW_DISP_S "<FLDISP>"
|
#define SM_FLOW_DISP_S "<FLDISP>"
|
||||||
#define SM_FLOW_UP_L "<Up>"
|
#define SM_FLOW_UP_L "<Up>"
|
||||||
#define SM_FLOW_UP_S "<FLUP>"
|
#define SM_FLOW_UP_S "<FLUP>"
|
||||||
#define SM_FLOW_DN_L "<Down>"
|
#define SM_FLOW_DN_L "<Down>"
|
||||||
#define SM_FLOW_DN_S "<FLDN>"
|
#define SM_FLOW_DN_S "<FLDN>"
|
||||||
#define SM_FLOW_EXIT_L "<Exit Flow Settings>"
|
#define SM_FLOW_EXIT_L "<Exit Flow Settings>"
|
||||||
#define SM_FLOW_EXIT_S "<EXTFLW>"
|
#define SM_FLOW_EXIT_S "<EXTFLW>"
|
||||||
|
|
||||||
#define SM_EZLVL_MENU_L "<Easy 4 Point Level>"
|
#define SM_EZLVL_MENU_L "<Easy 4 Point Level>"
|
||||||
#define SM_EZLVL_MENU_S "<EZLVLM>"
|
#define SM_EZLVL_MENU_S "<EZLVLM>"
|
||||||
#define SM_EZLVL_P1_L "<Point A>"
|
#define SM_EZLVL_P1_L "<Point A>"
|
||||||
#define SM_EZLVL_P1_S "<EZLPA>"
|
#define SM_EZLVL_P1_S "<EZLPA>"
|
||||||
#define SM_EZLVL_P2_L "<Point B>"
|
#define SM_EZLVL_P2_L "<Point B>"
|
||||||
#define SM_EZLVL_P2_S "<EZLPB>"
|
#define SM_EZLVL_P2_S "<EZLPB>"
|
||||||
#define SM_EZLVL_P3_L "<Point C>"
|
#define SM_EZLVL_P3_L "<Point C>"
|
||||||
#define SM_EZLVL_P3_S "<EZLPC>"
|
#define SM_EZLVL_P3_S "<EZLPC>"
|
||||||
#define SM_EZLVL_P4_L "<Point D>"
|
#define SM_EZLVL_P4_L "<Point D>"
|
||||||
#define SM_EZLVL_P4_S "<EZLPD>"
|
#define SM_EZLVL_P4_S "<EZLPD>"
|
||||||
#define SM_EZLVL_EXIT_L "<Exit Easy Level>"
|
#define SM_EZLVL_EXIT_L "<Exit Easy Level>"
|
||||||
#define SM_EZLVL_EXIT_S "<EZLEXT>"
|
#define SM_EZLVL_EXIT_S "<EZLEXT>"
|
||||||
|
|
||||||
#define SM_BLTZMENU_L "<Auto Leveling>"
|
#define SM_BLTZMENU_L "<Auto Leveling>"
|
||||||
#define SM_BLTZMENU_S "<SETOFZ>"
|
#define SM_BLTZMENU_S "<SETOFZ>"
|
||||||
#define SM_BLTZ_DISP_L "<Z Offset: XXXXX>"
|
#define SM_BLTZ_DISP_L "<Z Offset: XXXXX>"
|
||||||
#define SM_BLTZ_DISP_S "<OFZDSP>"
|
#define SM_BLTZ_DISP_S "<OFZDSP>"
|
||||||
#define SM_BLTZ_UP_L "<Up>"
|
#define SM_BLTZ_UP_L "<Up>"
|
||||||
#define SM_BLTZ_UP_S "<UPOFFZ0>"
|
#define SM_BLTZ_UP_S "<UPOFFZ0>"
|
||||||
#define SM_BLTZ_DN_L "<Down>"
|
#define SM_BLTZ_DN_L "<Down>"
|
||||||
#define SM_BLTZ_DN_S "<DNOFFZ0>"
|
#define SM_BLTZ_DN_S "<DNOFFZ0>"
|
||||||
#define SM_BLTZ_EXIT_L "<SAVE and EXIT>"
|
#define SM_BLTZ_EXIT_L "<SAVE and EXIT>"
|
||||||
#define SM_BLTZ_EXIT_S "<EXTABLM>"
|
#define SM_BLTZ_EXIT_S "<EXTABLM>"
|
||||||
|
#endif // !KNUTWURST_DGUS2_TFT
|
||||||
#endif
|
|
||||||
|
|
||||||
#if ENABLED(KNUTWURST_DGUS2_TFT)
|
#if ENABLED(KNUTWURST_DGUS2_TFT)
|
||||||
#define SM_DIR_UP_L "<<< BACK <<< .gcode"
|
#define SM_DIR_UP_L "<<< BACK <<< .gcode"
|
||||||
#define SM_DIR_UP_S "DIR_UP~1.GCO"
|
#define SM_DIR_UP_S "DIR_UP~1.GCO"
|
||||||
#define SM_SPECIAL_MENU_L "<Special Menu> .gcode"
|
#define SM_SPECIAL_MENU_L "<Special Menu> .gcode"
|
||||||
#define SM_SPECIAL_MENU_S "<SPECI~1.GCO"
|
#define SM_SPECIAL_MENU_S "<SPECI~1.GCO"
|
||||||
#define SM_PID_HOTEND_L "<PID Tune Hotend> .gcode"
|
#define SM_PID_HOTEND_L "<PID Tune Hotend> .gcode"
|
||||||
#define SM_PID_HOTEND_S "<PIDTU~1.GCO"
|
#define SM_PID_HOTEND_S "<PIDTU~1.GCO"
|
||||||
#define SM_PID_BED_L "<PID Tune Ultrabase>.gcode"
|
#define SM_PID_BED_L "<PID Tune Ultrabase>.gcode"
|
||||||
#define SM_PID_BED_S "<PIDTU~2.GCO"
|
#define SM_PID_BED_S "<PIDTU~2.GCO"
|
||||||
#define SM_SAVE_EEPROM_L "<Save EEPROM> .gcode"
|
#define SM_SAVE_EEPROM_L "<Save EEPROM> .gcode"
|
||||||
#define SM_SAVE_EEPROM_S "<SAVEE~1.GCO"
|
#define SM_SAVE_EEPROM_S "<SAVEE~1.GCO"
|
||||||
#define SM_LOAD_DEFAULTS_L "<Load FW Defaults> .gcode"
|
#define SM_LOAD_DEFAULTS_L "<Load FW Defaults> .gcode"
|
||||||
#define SM_LOAD_DEFAULTS_S "<LOADF~1.GCO"
|
#define SM_LOAD_DEFAULTS_S "<LOADF~1.GCO"
|
||||||
#define SM_PREHEAT_BED_L "<Preheat Ultrabase> .gcode"
|
#define SM_PREHEAT_BED_L "<Preheat Ultrabase> .gcode"
|
||||||
#define SM_PREHEAT_BED_S "<PREHE~1.GCO"
|
#define SM_PREHEAT_BED_S "<PREHE~1.GCO"
|
||||||
#define SM_MESH_MENU_L "<Mesh Leveling> .gcode"
|
#define SM_MESH_MENU_L "<Mesh Leveling> .gcode"
|
||||||
#define SM_MESH_MENU_S "<MESHL~1.GCO"
|
#define SM_MESH_MENU_S "<MESHL~1.GCO"
|
||||||
#define SM_MESH_START_L "<Start MeshLeveling>.gcode"
|
#define SM_MESH_START_L "<Start MeshLeveling>.gcode"
|
||||||
#define SM_MESH_START_S "<START~1.GCO"
|
#define SM_MESH_START_S "<START~1.GCO"
|
||||||
#define SM_MESH_NEXT_L "<Next Mesh Point> .gcode"
|
#define SM_MESH_NEXT_L "<Next Mesh Point> .gcode"
|
||||||
#define SM_MESH_NEXT_S "<NEXTM~1.GCO"
|
#define SM_MESH_NEXT_S "<NEXTM~1.GCO"
|
||||||
#define SM_Z_UP_01_L "<Z Up 0.1> .gcode"
|
#define SM_Z_UP_01_L "<Z Up 0.1> .gcode"
|
||||||
#define SM_Z_UP_01_S "<ZUP01~1.GCO"
|
#define SM_Z_UP_01_S "<ZUP01~1.GCO"
|
||||||
#define SM_Z_DN_01_L "<Z Down 0.1> .gcode"
|
#define SM_Z_DN_01_L "<Z Down 0.1> .gcode"
|
||||||
#define SM_Z_DN_01_S "<ZDOWN~1.GCO"
|
#define SM_Z_DN_01_S "<ZDOWN~1.GCO"
|
||||||
#define SM_Z_UP_002_L "<Z Up 0.02> .gcode"
|
#define SM_Z_UP_002_L "<Z Up 0.02> .gcode"
|
||||||
#define SM_Z_UP_002_S "<ZUP00~1.GCO"
|
#define SM_Z_UP_002_S "<ZUP00~1.GCO"
|
||||||
#define SM_Z_DN_002_L "<Z Down 0.02> .gcode"
|
#define SM_Z_DN_002_L "<Z Down 0.02> .gcode"
|
||||||
#define SM_Z_DN_002_S "<ZDOWN~2.GCO"
|
#define SM_Z_DN_002_S "<ZDOWN~2.GCO"
|
||||||
#define SM_Z_UP_001_L "<Z Up 0.01> .gcode"
|
#define SM_Z_UP_001_L "<Z Up 0.01> .gcode"
|
||||||
#define SM_Z_UP_001_S "<ZUP00~2.GCO"
|
#define SM_Z_UP_001_S "<ZUP00~2.GCO"
|
||||||
#define SM_Z_DN_001_L "<Z Down 0.01> .gcode"
|
#define SM_Z_DN_001_L "<Z Down 0.01> .gcode"
|
||||||
#define SM_Z_DN_001_S "<ZDOWN~3.GCO"
|
#define SM_Z_DN_001_S "<ZDOWN~3.GCO"
|
||||||
#define SM_BLTOUCH_L "<Start AutoLeveling>.gcode"
|
#define SM_BLTOUCH_L "<Start AutoLeveling>.gcode"
|
||||||
#define SM_BLTOUCH_S "<BLTOU~1.GCO"
|
#define SM_BLTOUCH_S "<BLTOU~1.GCO"
|
||||||
#define SM_RESETLV_L "<Reset Level Grid> .gcode"
|
#define SM_RESETLV_L "<Reset Level Grid> .gcode"
|
||||||
#define SM_RESETLV_S "<RSTLV~1.GCO>"
|
#define SM_RESETLV_S "<RSTLV~1.GCO>"
|
||||||
#define SM_PAUSE_L "<Fil. Change Pause> .gcode"
|
#define SM_PAUSE_L "<Fil. Change Pause> .gcode"
|
||||||
#define SM_PAUSE_S "<FILCH~2.GCO"
|
#define SM_PAUSE_S "<FILCH~2.GCO"
|
||||||
#define SM_RESUME_L "<Fil. Change Resume>.gcode"
|
#define SM_RESUME_L "<Fil. Change Resume>.gcode"
|
||||||
#define SM_RESUME_S "<FILCH~1.GCO"
|
#define SM_RESUME_S "<FILCH~1.GCO"
|
||||||
#define SM_DIS_FILSENS_L "<Disable Fil.Sensor>.gcode"
|
#define SM_DIS_FILSENS_L "<Disable Fil.Sensor>.gcode"
|
||||||
#define SM_DIS_FILSENS_S "<DISAB~1.GCO"
|
#define SM_DIS_FILSENS_S "<DISAB~1.GCO"
|
||||||
#define SM_EN_FILSENS_L "<Enable Fil. Sensor>.gcode"
|
#define SM_EN_FILSENS_L "<Enable Fil. Sensor>.gcode"
|
||||||
#define SM_EN_FILSENS_S "<ENABL~1.GCO"
|
#define SM_EN_FILSENS_S "<ENABL~1.GCO"
|
||||||
#define SM_EXIT_L "<Exit> .gcode"
|
#define SM_EXIT_L "<Exit> .gcode"
|
||||||
#define SM_EXIT_S "<EXIT_~1.GCO"
|
#define SM_EXIT_S "<EXIT_~1.GCO"
|
||||||
|
|
||||||
#define SM_BACK_L "<End Mesh Leveling> .gcode"
|
#define SM_BACK_L "<End Mesh Leveling> .gcode"
|
||||||
#define SM_BACK_S "<BACK_~1.GCO"
|
#define SM_BACK_S "<BACK_~1.GCO"
|
||||||
|
|
||||||
#define SM_FLOWMENU_L "<Set Flowrate> .gcode"
|
#define SM_FLOWMENU_L "<Set Flowrate> .gcode"
|
||||||
#define SM_FLOWMENU_S "<SETFLO1.GCO"
|
#define SM_FLOWMENU_S "<SETFLO1.GCO"
|
||||||
#define SM_FLOW_DISP_L "<Flow is XXX%> .gcode"
|
#define SM_FLOW_DISP_L "<Flow is XXX%> .gcode"
|
||||||
#define SM_FLOW_DISP_S "<FLDISPL.GCO"
|
#define SM_FLOW_DISP_S "<FLDISPL.GCO"
|
||||||
#define SM_FLOW_UP_L "<Up> .gcode"
|
#define SM_FLOW_UP_L "<Up> .gcode"
|
||||||
#define SM_FLOW_UP_S "<UPFLOW1.GCO"
|
#define SM_FLOW_UP_S "<UPFLOW1.GCO"
|
||||||
#define SM_FLOW_DN_L "<Down> .gcode"
|
#define SM_FLOW_DN_L "<Down> .gcode"
|
||||||
#define SM_FLOW_DN_S "<DWNFLOW.GCO"
|
#define SM_FLOW_DN_S "<DWNFLOW.GCO"
|
||||||
#define SM_FLOW_EXIT_L "<Exit Flow Settings>.gcode"
|
#define SM_FLOW_EXIT_L "<Exit Flow Settings>.gcode"
|
||||||
#define SM_FLOW_EXIT_S "<EXTFLW1.GCO"
|
#define SM_FLOW_EXIT_S "<EXTFLW1.GCO"
|
||||||
|
|
||||||
#define SM_EZLVL_MENU_L "<Easy 4 Point Level>.gcode"
|
#define SM_EZLVL_MENU_L "<Easy 4 Point Level>.gcode"
|
||||||
#define SM_EZLVL_MENU_S "<EZLVLM1.GCO"
|
#define SM_EZLVL_MENU_S "<EZLVLM1.GCO"
|
||||||
#define SM_EZLVL_P1_L "<Point A> .gcode"
|
#define SM_EZLVL_P1_L "<Point A> .gcode"
|
||||||
#define SM_EZLVL_P1_S "<EZLPA01.GCO"
|
#define SM_EZLVL_P1_S "<EZLPA01.GCO"
|
||||||
#define SM_EZLVL_P2_L "<Point B> .gcode"
|
#define SM_EZLVL_P2_L "<Point B> .gcode"
|
||||||
#define SM_EZLVL_P2_S "<EZLPB01.GCO"
|
#define SM_EZLVL_P2_S "<EZLPB01.GCO"
|
||||||
#define SM_EZLVL_P3_L "<Point C> .gcode"
|
#define SM_EZLVL_P3_L "<Point C> .gcode"
|
||||||
#define SM_EZLVL_P3_S "<EZLPC01.GCO"
|
#define SM_EZLVL_P3_S "<EZLPC01.GCO"
|
||||||
#define SM_EZLVL_P4_L "<Point D> .gcode"
|
#define SM_EZLVL_P4_L "<Point D> .gcode"
|
||||||
#define SM_EZLVL_P4_S "<EZLPD01.GCO"
|
#define SM_EZLVL_P4_S "<EZLPD01.GCO"
|
||||||
#define SM_EZLVL_EXIT_L "<Exit Easy Leveling>.gcode"
|
#define SM_EZLVL_EXIT_L "<Exit Easy Leveling>.gcode"
|
||||||
#define SM_EZLVL_EXIT_S "<EZLEXT1.GCO"
|
#define SM_EZLVL_EXIT_S "<EZLEXT1.GCO"
|
||||||
|
|
||||||
#define SM_BLTZMENU_L "<Auto Leveling> .gcode"
|
#define SM_BLTZMENU_L "<Auto Leveling> .gcode"
|
||||||
#define SM_BLTZMENU_S "<SETOFZ0.GCO"
|
#define SM_BLTZMENU_S "<SETOFZ0.GCO"
|
||||||
#define SM_BLTZ_DISP_L "<Z Offset: XXXXX> .gcode"
|
#define SM_BLTZ_DISP_L "<Z Offset: XXXXX> .gcode"
|
||||||
#define SM_BLTZ_DISP_S "<OFZDSP0.GCO"
|
#define SM_BLTZ_DISP_S "<OFZDSP0.GCO"
|
||||||
#define SM_BLTZ_UP_L "<Up> .gcode"
|
#define SM_BLTZ_UP_L "<Up> .gcode"
|
||||||
#define SM_BLTZ_UP_S "<UPOFFZ0.GCO"
|
#define SM_BLTZ_UP_S "<UPOFFZ0.GCO"
|
||||||
#define SM_BLTZ_DN_L "<Down> .gcode"
|
#define SM_BLTZ_DN_L "<Down> .gcode"
|
||||||
#define SM_BLTZ_DN_S "<DOWNOFZ.GCO"
|
#define SM_BLTZ_DN_S "<DOWNOFZ.GCO"
|
||||||
#define SM_BLTZ_EXIT_L "<SAVE and EXIT> .gcode"
|
#define SM_BLTZ_EXIT_L "<SAVE and EXIT> .gcode"
|
||||||
#define SM_BLTZ_EXIT_S "<EXTABLM.GCO"
|
#define SM_BLTZ_EXIT_S "<EXTABLM.GCO"
|
||||||
|
#endif // KNUTWURST_DGUS2_TFT
|
||||||
#endif
|
|
||||||
|
|
||||||
#if ENABLED(KNUTWURST_TFT_LEVELING)
|
#if ENABLED(KNUTWURST_TFT_LEVELING)
|
||||||
// eeprom_index
|
// eeprom_index
|
||||||
@@ -246,9 +244,8 @@ char *ftostr32(const float &);
|
|||||||
extern float SAVE_zprobe_zoffset;
|
extern float SAVE_zprobe_zoffset;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class AnycubicTouchscreenClass
|
class AnycubicTouchscreenClass {
|
||||||
{
|
public:
|
||||||
public:
|
|
||||||
AnycubicTouchscreenClass();
|
AnycubicTouchscreenClass();
|
||||||
void Setup();
|
void Setup();
|
||||||
void CommandScan();
|
void CommandScan();
|
||||||
@@ -272,7 +269,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
uint8_t ai3m_pause_state = 0;
|
uint8_t ai3m_pause_state = 0;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
char TFTcmdbuffer[TFTBUFSIZE][TFT_MAX_CMD_SIZE];
|
char TFTcmdbuffer[TFTBUFSIZE][TFT_MAX_CMD_SIZE];
|
||||||
int TFTbuflen = 0;
|
int TFTbuflen = 0;
|
||||||
int TFTbufindr = 0;
|
int TFTbufindr = 0;
|
||||||
@@ -290,9 +287,8 @@ private:
|
|||||||
bool IsParked = false;
|
bool IsParked = false;
|
||||||
int currentFlowRate = 0;
|
int currentFlowRate = 0;
|
||||||
|
|
||||||
#if defined(POWER_OUTAGE_TEST)
|
#if defined(POWER_OUTAGE_TEST)
|
||||||
struct OutageDataStruct
|
struct OutageDataStruct {
|
||||||
{
|
|
||||||
char OutageDataVersion;
|
char OutageDataVersion;
|
||||||
char OutageFlag;
|
char OutageFlag;
|
||||||
float last_position[XYZE];
|
float last_position[XYZE];
|
||||||
@@ -300,7 +296,7 @@ private:
|
|||||||
float last_hotend_temp;
|
float last_hotend_temp;
|
||||||
long lastSDposition;
|
long lastSDposition;
|
||||||
} OutageData;
|
} OutageData;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int CodeValueInt();
|
int CodeValueInt();
|
||||||
float CodeValue();
|
float CodeValue();
|
||||||
@@ -338,12 +334,10 @@ private:
|
|||||||
char FilamentTestLastStatus = false;
|
char FilamentTestLastStatus = false;
|
||||||
bool FilamentSetMillis = true;
|
bool FilamentSetMillis = true;
|
||||||
int FilamentRunoutCounter = 0;
|
int FilamentRunoutCounter = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if ENABLED(KNUTWURST_MEGA_P_LASER)
|
||||||
#if ENABLED(KNUTWURST_MEGA_P_LASER)
|
typedef struct {
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
unsigned char bfType[2];
|
unsigned char bfType[2];
|
||||||
unsigned char bfSize[4];
|
unsigned char bfSize[4];
|
||||||
unsigned char bfReserved1[2];
|
unsigned char bfReserved1[2];
|
||||||
@@ -360,11 +354,9 @@ typedef struct {
|
|||||||
unsigned char biYPelsPerMeter[4];
|
unsigned char biYPelsPerMeter[4];
|
||||||
unsigned char biClrUsed[4];
|
unsigned char biClrUsed[4];
|
||||||
unsigned char biClrImportant[4];
|
unsigned char biClrImportant[4];
|
||||||
}BMP_HEAD;
|
} BMP_HEAD;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
typedef struct
|
|
||||||
{
|
|
||||||
unsigned long pic_file_size;
|
unsigned long pic_file_size;
|
||||||
unsigned long pic_ptr;
|
unsigned long pic_ptr;
|
||||||
unsigned long pic_start;
|
unsigned long pic_start;
|
||||||
@@ -388,15 +380,14 @@ typedef struct
|
|||||||
unsigned char pic_x_mirror;
|
unsigned char pic_x_mirror;
|
||||||
unsigned char pic_y_mirror;
|
unsigned char pic_y_mirror;
|
||||||
unsigned char pic_laser_time;
|
unsigned char pic_laser_time;
|
||||||
}PRINTER_STRUCT;
|
} PRINTER_STRUCT;
|
||||||
|
|
||||||
#define PIC_FIXED 0.1f // // POINT/MM
|
|
||||||
#define PIC_OPEN 50 // // ms
|
|
||||||
#define PIC_SPEDD 20000
|
|
||||||
#define MIN_GRAY_VLAUE 20
|
|
||||||
#define LASER_PRINT_SPEED 30 //50*60
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
#define PIC_FIXED 0.1f // // POINT/MM
|
||||||
|
#define PIC_OPEN 50 // // ms
|
||||||
|
#define PIC_SPEDD 20000
|
||||||
|
#define MIN_GRAY_VLAUE 20
|
||||||
|
#define LASER_PRINT_SPEED 30 //50*60
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
extern AnycubicTouchscreenClass AnycubicTouchscreen;
|
extern AnycubicTouchscreenClass AnycubicTouchscreen;
|
||||||
|
Reference in New Issue
Block a user