mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
Using SET_INPUT instead of pinMode
This commit is contained in:
parent
b58083b0fa
commit
1270fbfd38
@ -1548,10 +1548,10 @@ void lcd_init() {
|
||||
#endif
|
||||
|
||||
#ifdef RIGIDBOT_PANEL
|
||||
pinMode(BTN_UP,INPUT);
|
||||
pinMode(BTN_DWN,INPUT);
|
||||
pinMode(BTN_LFT,INPUT);
|
||||
pinMode(BTN_RT,INPUT);
|
||||
SET_INPUT(BTN_UP);
|
||||
SET_INPUT(BTN_DWN);
|
||||
SET_INPUT(BTN_LFT);
|
||||
SET_INPUT(BTN_RT);
|
||||
#endif
|
||||
|
||||
#else // Not NEWPANEL
|
||||
|
Loading…
Reference in New Issue
Block a user