summaryrefslogtreecommitdiff
path: root/src/stm32f4/ao_arch.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2018-09-11 11:57:50 -0700
committerKeith Packard <keithp@keithp.com>2018-10-13 08:23:25 -0700
commit2cdb1f30c49ba460b0850d23ba9c85e0336af290 (patch)
tree880abd83761ec7ce5511b30ee621057eeb8412d8 /src/stm32f4/ao_arch.h
parentcdaa0d7b272505c49017f409b7c0b8e3240608f0 (diff)
altos: Add generic LED driver.
This driver uses the generic GPIO functions and allows per-LED port and pin configuration. It supports up to 32 LEDs. Rename SoC-specific LED drivers. Remove enabled parameter to ao_led_init Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm32f4/ao_arch.h')
-rw-r--r--src/stm32f4/ao_arch.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/stm32f4/ao_arch.h b/src/stm32f4/ao_arch.h
index 805d756d..73eb793f 100644
--- a/src/stm32f4/ao_arch.h
+++ b/src/stm32f4/ao_arch.h
@@ -29,9 +29,6 @@
#define ao_arch_task_members\
uint32_t *sp; /* saved stack pointer */
-#define ao_arch_block_interrupts() asm("cpsid i")
-#define ao_arch_release_interrupts() asm("cpsie i")
-
#define ao_arch_naked_declare __attribute__((naked))
#define ao_arch_naked_define