From a4e8827b0652be1133d7491fc749fcb55b7c3333 Mon Sep 17 00:00:00 2001 From: Perry Hung Date: Thu, 22 Apr 2010 01:18:48 -0400 Subject: PinMode pullup bug fix, wiring pin mode bug fix --- core/wiring_digital.c | 1 + 1 file changed, 1 insertion(+) (limited to 'core') 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; -- cgit v1.2.3