diff options
author | Perry Hung <iperry@alum.mit.edu> | 2010-04-22 01:18:48 -0400 |
---|---|---|
committer | Perry Hung <iperry@alum.mit.edu> | 2010-04-22 01:18:48 -0400 |
commit | a4e8827b0652be1133d7491fc749fcb55b7c3333 (patch) | |
tree | 4a98222c74fd1c3698a0422e28d2e499dccc14e9 /core | |
parent | e9eda8f74c4775ef160bbe90325b8be7def91b7d (diff) | |
download | librambutan-a4e8827b0652be1133d7491fc749fcb55b7c3333.tar.gz librambutan-a4e8827b0652be1133d7491fc749fcb55b7c3333.zip |
PinMode pullup bug fix, wiring pin mode bug fix
Diffstat (limited to 'core')
-rw-r--r-- | core/wiring_digital.c | 1 |
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; |