Using SET_INPUT instead of pinMode
This commit is contained in:
parent
2c9e0415c7
commit
06555febdd
1 changed files with 4 additions and 4 deletions
|
@ -1548,10 +1548,10 @@ void lcd_init() {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef RIGIDBOT_PANEL
|
#ifdef RIGIDBOT_PANEL
|
||||||
pinMode(BTN_UP,INPUT);
|
SET_INPUT(BTN_UP);
|
||||||
pinMode(BTN_DWN,INPUT);
|
SET_INPUT(BTN_DWN);
|
||||||
pinMode(BTN_LFT,INPUT);
|
SET_INPUT(BTN_LFT);
|
||||||
pinMode(BTN_RT,INPUT);
|
SET_INPUT(BTN_RT);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else // Not NEWPANEL
|
#else // Not NEWPANEL
|
||||||
|
|
Reference in a new issue