summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-05-21 21:05:30 -0700
committerKeith Packard <keithp@keithp.com>2011-05-21 21:05:30 -0700
commit7818f9962aa3375c29e32ee75038e998eaf53df8 (patch)
tree630a15a3cf1c397a45ab5b90d95fa32fe5d547db
parent77a7e1285c17c78b644d6d774990d3f02ca080d2 (diff)
src-avr: bump ADC ring to 16 samples
We've got ram for it at this point, and it's nice to have more data from before boost detect. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src-avr/ao.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-avr/ao.h b/src-avr/ao.h
index cc600f20..6d025c99 100644
--- a/src-avr/ao.h
+++ b/src-avr/ao.h
@@ -201,7 +201,7 @@ struct ao_adc {
* ao_adc.c
*/
-#define AO_ADC_RING 8
+#define AO_ADC_RING 16
#define ao_adc_ring_next(n) (((n) + 1) & (AO_ADC_RING - 1))
#define ao_adc_ring_prev(n) (((n) - 1) & (AO_ADC_RING - 1))