diff options
author | Keith Packard <keithp@keithp.com> | 2014-05-21 01:39:46 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-05-21 01:43:12 -0700 |
commit | ca338a897ba3237652a3ae092e660f26c9e35074 (patch) | |
tree | 2445d82b529f5bbac46dd96bf990f53816f87566 /src | |
parent | 0a3312e725d914bbba6355e07d2f1d2833d2d6c2 (diff) |
altos/lpc: whitespace
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/lpc/ao_exti_lpc.c | 4 | ||||
-rw-r--r-- | src/lpc/ao_interrupt.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lpc/ao_exti_lpc.c b/src/lpc/ao_exti_lpc.c index 941aa965..fdb6a1ca 100644 --- a/src/lpc/ao_exti_lpc.c +++ b/src/lpc/ao_exti_lpc.c @@ -69,7 +69,7 @@ _ao_exti_set_enable(uint8_t pint) lpc_gpio_pin.sienr = mask; else lpc_gpio_pin.cienr = mask; - + if (mode & AO_EXTI_MODE_FALLING) lpc_gpio_pin.sienf = mask; else @@ -98,7 +98,7 @@ ao_exti_setup (uint8_t port, uint8_t pin, uint8_t mode, void (*callback)(void)) mask = (1 << pint); ao_pint_inuse |= mask; ao_pint_enabled &= ~mask; - + ao_pint_map[id] = pint; ao_exti_callback[pint] = callback; diff --git a/src/lpc/ao_interrupt.c b/src/lpc/ao_interrupt.c index c4dc7867..3318db2b 100644 --- a/src/lpc/ao_interrupt.c +++ b/src/lpc/ao_interrupt.c @@ -172,5 +172,5 @@ const void *lpc_interrupt_vector[] = { i(0xb0, hardfault), /* IRQ28 */ i(0xb4, hardfault), i(0xb8, usb_wakeup), - i(0xbc, hardfault), + i(0xbc, hardfault), }; |