From 06555febdd30df8d4d95e48bdf46cbd886934813 Mon Sep 17 00:00:00 2001 From: Ruwan J Egoda Gamage Date: Thu, 24 Dec 2015 12:12:25 -0500 Subject: [PATCH] Using SET_INPUT instead of pinMode --- Marlin/ultralcd.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Marlin/ultralcd.cpp b/Marlin/ultralcd.cpp index a671a707e3..b8b9769e74 100644 --- a/Marlin/ultralcd.cpp +++ b/Marlin/ultralcd.cpp @@ -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