Set pullup on BTN_BACK pin (#15654)

This commit is contained in:
Luu Lac
2019-10-24 12:04:45 -05:00
committed by Scott Lahteine
parent b7db91c46d
commit efeb6efe77
2 changed files with 7 additions and 3 deletions

View File

@ -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