diff options
| author | Keith Packard <keithp@keithp.com> | 2012-08-06 20:20:32 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-08-06 20:20:32 -0700 |
| commit | 5f7e61c749b02ed16e368502062e39b0471e9257 (patch) | |
| tree | 07a18d14711e0c57ca8750787232f167fbde98ee /src/stm-demo/ao_pins.h | |
| parent | ab379493dbe9923db8e458d2f4e0344df17d331c (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/ao_pins.h')
| -rw-r--r-- | src/stm-demo/ao_pins.h | 4 |
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_ */ |
