diff --git a/Marlin/pins_3DRAG.h b/Marlin/pins_3DRAG.h index 6f253ac8a3e1c869cd806ec8dc7eae9b0d095b0d..db19e5df2c2fc5ad22984f992ac0f310f866a0e2 100644 --- a/Marlin/pins_3DRAG.h +++ b/Marlin/pins_3DRAG.h @@ -86,7 +86,7 @@ #undef BTN_ENC #define BTN_EN1 16 #define BTN_EN2 17 - #define BTN_ENC 23 //the click + #define BTN_ENC 23 #else diff --git a/Marlin/pins_ELEFU_3.h b/Marlin/pins_ELEFU_3.h index 546b5a84e3a93b707fede935d1c8d41d9d1d93ee..bb98f2b0291dd1721d97381e9ce5ce9d8b3464c4 100644 --- a/Marlin/pins_ELEFU_3.h +++ b/Marlin/pins_ELEFU_3.h @@ -87,11 +87,11 @@ #define BTN_EN1 14 #define BTN_EN2 39 - #define BTN_ENC 15 //the click #define BLEN_C 2 #define BLEN_B 1 #define BLEN_A 0 + #define BTN_ENC 15 #endif // RA_CONTROL_PANEL diff --git a/Marlin/pins_GEN7_CUSTOM.h b/Marlin/pins_GEN7_CUSTOM.h index f740e4a0128bca677146745606f64db95d22e731..06aaebd65e397771cdee12699d2108466646f059 100644 --- a/Marlin/pins_GEN7_CUSTOM.h +++ b/Marlin/pins_GEN7_CUSTOM.h @@ -86,5 +86,5 @@ //buttons are directly attached #define BTN_EN1 11 #define BTN_EN2 10 -#define BTN_ENC 12 //the click +#define BTN_ENC 12 diff --git a/Marlin/pins_MEGACONTROLLER.h b/Marlin/pins_MEGACONTROLLER.h index f21a805187bfbffd0900bf9a84d98d9f4bcf5d44..7ea4ee34b7611a941e076f8f4a3288d9c4332631 100644 --- a/Marlin/pins_MEGACONTROLLER.h +++ b/Marlin/pins_MEGACONTROLLER.h @@ -113,11 +113,11 @@ //#define LCD_SCREEN_ROT_90 //#define LCD_SCREEN_ROT_180 //#define LCD_SCREEN_ROT_270 - //The encoder and click button + #define BTN_EN1 48 #define BTN_EN2 11 - #define BTN_ENC 10 //the click switch - //not connected to a pin + #define BTN_ENC 10 + #define SD_DETECT_PIN 49 -#endif //Minipanel +#endif // MINIPANEL diff --git a/Marlin/pins_MEGATRONICS_2.h b/Marlin/pins_MEGATRONICS_2.h index 90e9b1feef755e098da7a2a2a9e64da56dc76ebf..cb4bcb80a553c6e3c5620eb0bedf885af9d63054 100644 --- a/Marlin/pins_MEGATRONICS_2.h +++ b/Marlin/pins_MEGATRONICS_2.h @@ -101,9 +101,9 @@ // Buttons are directly attached using keypad #define BTN_EN1 61 #define BTN_EN2 59 -#define BTN_ENC 43 //the click #define BLEN_C 2 #define BLEN_B 1 #define BLEN_A 0 +#define BTN_ENC 43 diff --git a/Marlin/pins_PRINTRBOARD.h b/Marlin/pins_PRINTRBOARD.h index eaccabe9db2cd4f8876cc53e68eac19557023131..301548c4420a2f26dc66d34db856877a2bb012c3 100644 --- a/Marlin/pins_PRINTRBOARD.h +++ b/Marlin/pins_PRINTRBOARD.h @@ -132,7 +132,7 @@ //The encoder and click button (FastIO Pins) #define BTN_EN1 26 #define BTN_EN2 27 - #define BTN_ENC 47 //the click switch + #define BTN_ENC 47 #define SDSS 45 #define SD_DETECT_PIN -1 // FastIO (Manual says 72 I'm not certain cause I can't test) diff --git a/Marlin/pins_PRINTRBOARD_REVF.h b/Marlin/pins_PRINTRBOARD_REVF.h index d2a45623a22e1e3fa29ffd9816c4ecf24079c405..751104b6c7f64e35ce86b5295874f4b62742879f 100644 --- a/Marlin/pins_PRINTRBOARD_REVF.h +++ b/Marlin/pins_PRINTRBOARD_REVF.h @@ -136,7 +136,7 @@ //The encoder and click button (FastIO Pins) #define BTN_EN1 26 #define BTN_EN2 27 - #define BTN_ENC 47 //the click switch + #define BTN_ENC 47 #define SDSS 45 #define SD_DETECT_PIN -1 // FastIO (Manual says 72 I'm not certain cause I can't test) diff --git a/Marlin/pins_RAMBO.h b/Marlin/pins_RAMBO.h index 68c627b9084812fcc969cdcdc9a6b7e21b18d331..450a5fe0b6a9dc2b6ca22f8f7743f644e409353f 100644 --- a/Marlin/pins_RAMBO.h +++ b/Marlin/pins_RAMBO.h @@ -127,11 +127,11 @@ //buttons are directly attached using AUX-2 #define BTN_EN1 76 #define BTN_EN2 77 - #define BTN_ENC 78 //the click #define BLEN_C 2 #define BLEN_B 1 #define BLEN_A 0 + #define BTN_ENC 78 #define SD_DETECT_PIN 81 // Ramps doesn't use this @@ -179,7 +179,7 @@ //The encoder and click button #define BTN_EN1 85 #define BTN_EN2 84 - #define BTN_ENC 83 //the click switch + #define BTN_ENC 83 #define SD_DETECT_PIN -1 // Pin 72 if using easy adapter board diff --git a/Marlin/pins_RAMPS_14.h b/Marlin/pins_RAMPS_14.h index ef96f59a60e39ec705d4837f2d2d8ff8ad0073e5..b1c5b1953926e786c8e68fab51b35f31c309ab30 100644 --- a/Marlin/pins_RAMPS_14.h +++ b/Marlin/pins_RAMPS_14.h @@ -256,7 +256,7 @@ //The encoder and click button #define BTN_EN1 40 #define BTN_EN2 63 - #define BTN_ENC 59 //the click switch + #define BTN_ENC 59 //not connected to a pin #define SD_DETECT_PIN 49 diff --git a/Marlin/pins_ULTIMAIN_2.h b/Marlin/pins_ULTIMAIN_2.h index c348ebb4902c0169087a5ac9750961c9b8627e18..3f61c16aa6e505a0f4b0ae92d686050d235eacb8 100644 --- a/Marlin/pins_ULTIMAIN_2.h +++ b/Marlin/pins_ULTIMAIN_2.h @@ -89,10 +89,10 @@ //buttons are directly attached #define BTN_EN1 40 #define BTN_EN2 41 -#define BTN_ENC 19 //the click #define BLEN_C 2 #define BLEN_B 1 #define BLEN_A 0 +#define BTN_ENC 19 #define SD_DETECT_PIN 39