aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/adc.c
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-05-14 12:20:28 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-05-31 17:24:18 -0400
commit7d1fc98ab041c646767295088952bdabbf941756 (patch)
tree6c14821439cdcfea492fc5c61bffbfa9b2adb896 /libmaple/adc.c
parentef9ff361423d9788614607864a01bbb708b32664 (diff)
downloadlibrambutan-7d1fc98ab041c646767295088952bdabbf941756.tar.gz
librambutan-7d1fc98ab041c646767295088952bdabbf941756.zip
STM32F1: Fix nvic_irq_disable_all() on some MCUs.
The current implementation only disables the first 64 IRQ lines. This covers all the chips we currently support, but it'll be a nasty surprise if anyone decides to add e.g. connectivity line MCUs (which have more IRQs) in the future. We already have the infrastructure to fix it in a clean way, so we might as well do it now. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/adc.c')
0 files changed, 0 insertions, 0 deletions