aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/wiring_digital.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/wiring_digital.c b/core/wiring_digital.c
index c1b7201..52cc652 100644
--- a/core/wiring_digital.c
+++ b/core/wiring_digital.c
@@ -112,6 +112,7 @@ void pinMode(uint8 pin, WiringPinMode mode) {
break;
case INPUT_ANALOG:
outputMode = GPIO_MODE_INPUT_ANALOG;
+ break;
case INPUT_PULLUP:
outputMode = GPIO_MODE_INPUT_PU;
break;