summaryrefslogtreecommitdiff
path: root/src/stm-demo
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-08-06 20:20:32 -0700
committerKeith Packard <keithp@keithp.com>2012-08-06 20:20:32 -0700
commit5f7e61c749b02ed16e368502062e39b0471e9257 (patch)
tree07a18d14711e0c57ca8750787232f167fbde98ee /src/stm-demo
parentab379493dbe9923db8e458d2f4e0344df17d331c (diff)
altos: Fix up quadrature driver
Mostly works now, should work reliably with a bit of input filtering. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm-demo')
-rw-r--r--src/stm-demo/ao_pins.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stm-demo/ao_pins.h b/src/stm-demo/ao_pins.h
index 17a76bd0..1f5ef4ff 100644
--- a/src/stm-demo/ao_pins.h
+++ b/src/stm-demo/ao_pins.h
@@ -171,7 +171,7 @@ struct ao_adc {
#define I2C_2_PB10_PB11 0
#define AO_QUADRATURE_PORT &stm_gpioc
-#define AO_QUADRATURE_A 0
-#define AO_QUADRATURE_B 1
+#define AO_QUADRATURE_A 1
+#define AO_QUADRATURE_B 0
#endif /* _AO_PINS_H_ */