From: Keith Packard Date: Mon, 7 May 2018 16:42:28 +0000 (-0700) Subject: altos/stmf0: leave ao_power_gpio names undefined without power management X-Git-Tag: 1.8.6~1^2~60^2~1 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=bc70f92966221f941b96177b401744a7aca24814;hp=5ddd4e10bd8ddb4a00a0ccd8982db3311ec5a9e7 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 --- 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<