File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 34203420//#define CUSTOM_USER_BUTTONS
34213421#if ENABLED (CUSTOM_USER_BUTTONS )
34223422 //#define BUTTON1_PIN -1
3423- #if PIN_EXISTS (BUTTON1_PIN )
3423+ #if PIN_EXISTS (BUTTON1 )
34243424 #define BUTTON1_HIT_STATE LOW // State of the triggered button. NC=LOW. NO=HIGH.
34253425 #define BUTTON1_WHEN_PRINTING false // Button allowed to trigger during printing?
34263426 #define BUTTON1_GCODE "G28"
34273427 #define BUTTON1_DESC "Homing" // Optional string to set the LCD status
34283428 #endif
34293429
34303430 //#define BUTTON2_PIN -1
3431- #if PIN_EXISTS (BUTTON2_PIN )
3431+ #if PIN_EXISTS (BUTTON2 )
34323432 #define BUTTON2_HIT_STATE LOW
34333433 #define BUTTON2_WHEN_PRINTING false
34343434 #define BUTTON2_GCODE "M140 S" STRINGIFY(PREHEAT_1_TEMP_BED) "\nM104 S" STRINGIFY(PREHEAT_1_TEMP_HOTEND)
34353435 #define BUTTON2_DESC "Preheat for " PREHEAT_1_LABEL
34363436 #endif
34373437
34383438 //#define BUTTON3_PIN -1
3439- #if PIN_EXISTS (BUTTON3_PIN )
3439+ #if PIN_EXISTS (BUTTON3 )
34403440 #define BUTTON3_HIT_STATE LOW
34413441 #define BUTTON3_WHEN_PRINTING false
34423442 #define BUTTON3_GCODE "M140 S" STRINGIFY(PREHEAT_2_TEMP_BED) "\nM104 S" STRINGIFY(PREHEAT_2_TEMP_HOTEND)
You can’t perform that action at this time.
0 commit comments