From bc70f92966221f941b96177b401744a7aca24814 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 7 May 2018 09:42:28 -0700 Subject: [PATCH] altos/stmf0: leave ao_power_gpio names undefined without power management Should make it more obvious at compile time that you've done something wrong. Signed-off-by: Keith Packard --- src/stmf0/ao_arch_funcs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/stmf0/ao_arch_funcs.h b/src/stmf0/ao_arch_funcs.h index 56a3bc75..96c033f9 100644 --- a/src/stmf0/ao_arch_funcs.h +++ b/src/stmf0/ao_arch_funcs.h @@ -171,10 +171,12 @@ ao_spi_try_get_mask(struct stm_gpio *reg, uint16_t mask, uint8_t bus, uint32_t s #define ao_spi_get_bit(reg,bit,pin,bus,speed) ao_spi_get_mask(reg,(1<