diff options
author | Perry Hung <iperry@alum.mit.edu> | 2010-03-31 21:29:29 -0400 |
---|---|---|
committer | Perry Hung <iperry@alum.mit.edu> | 2010-03-31 21:29:29 -0400 |
commit | 25c7ba0ed78aea0a368bc178dd720a845dd515ac (patch) | |
tree | 86be2502247dc0dd831191ae219a62875daad97c /libmaple/gpio.c | |
parent | 4e51e057bb5a8d6b3475d2202af8a2a2caf9ba7b (diff) | |
download | librambutan-25c7ba0ed78aea0a368bc178dd720a845dd515ac.tar.gz librambutan-25c7ba0ed78aea0a368bc178dd720a845dd515ac.zip |
Removed inttypes.h
Removed inttypes.h from libmaple. Will have another pass through to use
the standard libmaple types, but will come in another commit.
Diffstat (limited to 'libmaple/gpio.c')
-rw-r--r-- | libmaple/gpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmaple/gpio.c b/libmaple/gpio.c index 39341af..41d2e97 100644 --- a/libmaple/gpio.c +++ b/libmaple/gpio.c @@ -36,8 +36,8 @@ void gpio_init(void) { } void gpio_set_mode(GPIO_Port* port, uint8 gpio_pin, uint8 mode) { - uint32_t tmp; - uint32_t shift = POS(gpio_pin % 8); + uint32 tmp; + uint32 shift = POS(gpio_pin % 8); GPIOReg CR; ASSERT(port); |