]> git.gag.com Git - fw/altos/commitdiff
use default '0' mode for input gpio
authorBdale Garbee <bdale@gag.com>
Mon, 5 Aug 2024 01:09:50 +0000 (19:09 -0600)
committerBdale Garbee <bdale@gag.com>
Tue, 6 May 2025 18:37:26 +0000 (12:37 -0600)
src/quantimotor-v1/ao_quantimotor.c

index 33ba6940e77ab8e198a263adae203df4386b27a3..2badefe99cf410bd33efb714e872195831fb5fd2 100644 (file)
@@ -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();