Using SET_INPUT instead of pinMode

master
Ruwan J Egoda Gamage 9 years ago
parent 2c9e0415c7
commit 06555febdd

@ -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…
Cancel
Save