diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-09-07 16:08:34 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-09-07 23:34:23 -0400 |
commit | d91cadb11a9fcf046e80ba398812ee3f285158c0 (patch) | |
tree | 3078936a35a22a204dfa127df909084662ac8d71 /libmaple/nvic.c | |
parent | d2575d27e944905626f36f926a13a40d4832373e (diff) | |
download | librambutan-d91cadb11a9fcf046e80ba398812ee3f285158c0.tar.gz librambutan-d91cadb11a9fcf046e80ba398812ee3f285158c0.zip |
Update outdated stm32.h usages.
stm32.h has been updated to prefix its definitions. Update the rest
of libmaple to take this into account.
Diffstat (limited to 'libmaple/nvic.c')
-rw-r--r-- | libmaple/nvic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/nvic.c b/libmaple/nvic.c index eed9af8..bbbf13f 100644 --- a/libmaple/nvic.c +++ b/libmaple/nvic.c @@ -68,7 +68,7 @@ void nvic_init(uint32 vector_table_address, uint32 offset) { * Lower priority level for all peripheral interrupts to lowest * possible. */ - for (i = 0; i < NR_INTERRUPTS; i++) { + for (i = 0; i < STM32_NR_INTERRUPTS; i++) { nvic_irq_set_priority((nvic_irq_num)i, 0xF); } |