From: Keith Packard Date: Mon, 7 Nov 2022 02:30:31 +0000 (-0800) Subject: altos/ms5607: Use ao_gpio_set instead of stm_gpio_set X-Git-Tag: 1.9.13~1^2~26^2~40 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=79613a403cbb545672afc7b169b3a833d587903a;p=fw%2Faltos altos/ms5607: Use ao_gpio_set instead of stm_gpio_set The former is architecture independent. Signed-off-by: Keith Packard --- diff --git a/src/drivers/ao_ms5607.c b/src/drivers/ao_ms5607.c index f73b0956..46da4e83 100644 --- a/src/drivers/ao_ms5607.c +++ b/src/drivers/ao_ms5607.c @@ -173,7 +173,7 @@ ao_ms5607_get_sample(uint8_t cmd) { ao_sleep((void *) &ao_ms5607_done); ao_arch_release_interrupts(); #if AO_MS5607_PRIVATE_PINS - stm_gpio_set(AO_MS5607_CS_PORT, AO_MS5607_CS_PIN, 1); + ao_gpio_set(AO_MS5607_CS_PORT, AO_MS5607_CS_PIN, 1); #else ao_ms5607_stop(); #endif