Set pullup on BTN_BACK pin (#15654)
This commit is contained in:
1 parent
b7db91c46d
commit
efeb6efe77
2 files changed
+7
-3
No files matched your search
@@ -295,6 +295,10 @@ void MarlinUI::init() {
|
||||
SET_INPUT_PULLUP(BTN_ENC);
|
||||
#endif
|
||||
|
||||
#if BUTTON_EXISTS(BACK)
|
||||
SET_INPUT_PULLUP(BTN_BACK);
|
||||
#endif
|
||||
|
||||
#if BUTTON_EXISTS(UP)
|
||||
SET_INPUT(BTN_UP);
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user