src-avr: bump ADC ring to 16 samples
authorKeith Packard <keithp@keithp.com>
Sun, 22 May 2011 04:05:30 +0000 (21:05 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 22 May 2011 04:05:30 +0000 (21:05 -0700)
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>
src-avr/ao.h

index cc600f20c1a235a964aca760ff13fa63a5020776..6d025c99d78acd6ba70bb265b41041e95e747030 100644 (file)
@@ -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))