From ac2003b9556595db12e1fc671ef6226c56b777ad Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 18 Sep 2021 22:44:19 -0700 Subject: [PATCH] altos/stm: Minor cleanups in ao_arch_funcs.h Fix ao_gpio_set_output_mode to actually work again. Signed-off-by: Keith Packard --- src/stm/ao_arch_funcs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stm/ao_arch_funcs.h b/src/stm/ao_arch_funcs.h index 083f7a2b..d2cc1120 100644 --- a/src/stm/ao_arch_funcs.h +++ b/src/stm/ao_arch_funcs.h @@ -182,8 +182,8 @@ ao_spi_try_get_mask(struct stm_gpio *reg, uint16_t mask, uint8_t bus, uint32_t s ao_spi_put(bus); \ } while (0) -#define ao_spi_get_bit(reg,bit,bus,speed) ao_spi_get_mask(reg,(1<