summaryrefslogtreecommitdiff
path: root/src/stm-demo/ao_demo.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-08-06 19:35:02 -0700
committerKeith Packard <keithp@keithp.com>2012-08-06 19:35:02 -0700
commitab379493dbe9923db8e458d2f4e0344df17d331c (patch)
treebf6c2dd6c6ae9bf7d0e70eee0030d9ebd8501cf0 /src/stm-demo/ao_demo.c
parentb0b52ca73bc836336ecc70247a9ed1dd633920d9 (diff)
Signed-off-by: Keith Packard <keithp@keithp.com>
altos: Test quadrature driver
Diffstat (limited to 'src/stm-demo/ao_demo.c')
-rw-r--r--src/stm-demo/ao_demo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stm-demo/ao_demo.c b/src/stm-demo/ao_demo.c
index 9a581ff9..1b9813fe 100644
--- a/src/stm-demo/ao_demo.c
+++ b/src/stm-demo/ao_demo.c
@@ -16,6 +16,8 @@
*/
#include "ao.h"
+#include <ao_exti.h>
+#include <ao_quadrature.h>
struct ao_task demo_task;
@@ -170,6 +172,8 @@ main(void)
// ao_lcd_font_init();
ao_spi_init();
ao_i2c_init();
+ ao_exti_init();
+ ao_quadrature_init();
ao_timer_set_adc_interval(100);