From: Bdale Garbee Date: Mon, 5 Aug 2024 01:09:50 +0000 (-0600) Subject: use default '0' mode for input gpio X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=46ab2369dd2ac51f4a23456b441f8a256d7feaf8;p=fw%2Faltos use default '0' mode for input gpio --- diff --git a/src/quantimotor-v1/ao_quantimotor.c b/src/quantimotor-v1/ao_quantimotor.c index 33ba6940..2badefe9 100644 --- a/src/quantimotor-v1/ao_quantimotor.c +++ b/src/quantimotor-v1/ao_quantimotor.c @@ -69,7 +69,7 @@ main(void) /* set up the input we watch to sense SOM "health" */ /* choosing pull down so SOM has to actually assert readiness */ - ao_enable_input(HEALTH_PORT, HEALTH_PIN, AO_EXTI_MODE_PULL_DOWN); + ao_enable_input(HEALTH_PORT, HEALTH_PIN, 0); ao_adc_init();