summaryrefslogtreecommitdiff
path: root/src/avr/ao_pins.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-05-27 17:44:01 -0600
committerKeith Packard <keithp@keithp.com>2012-05-27 17:44:01 -0600
commit29edf6d901432a1afc65900ff599c963edac5a2b (patch)
tree6d1c699865c52ea5a473266766756387f0e20dc4 /src/avr/ao_pins.h
parent5fd869b244f8f2b76258dc31a5507a73fd47cf1d (diff)
altos: Make telescience-v0.1 build with new ao_data struct
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/avr/ao_pins.h')
-rw-r--r--src/avr/ao_pins.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/avr/ao_pins.h b/src/avr/ao_pins.h
index f2b40fb4..850a08ec 100644
--- a/src/avr/ao_pins.h
+++ b/src/avr/ao_pins.h
@@ -91,10 +91,9 @@
#define AO_TELESCIENCE_NUM_ADC 12
struct ao_adc {
- uint16_t tick; /* tick when the sample was read */
uint16_t adc[AO_TELESCIENCE_NUM_ADC]; /* samples */
};
-#define AO_ADC_RING 16
+#define AO_DATA_RING 16
#endif /* _AO_PINS_H_ */