projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77a7e12
)
src-avr: bump ADC ring to 16 samples
author
Keith Packard
<keithp@keithp.com>
Sun, 22 May 2011 04:05:30 +0000
(21:05 -0700)
committer
Keith 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
patch
|
blob
|
history
diff --git
a/src-avr/ao.h
b/src-avr/ao.h
index cc600f20c1a235a964aca760ff13fa63a5020776..6d025c99d78acd6ba70bb265b41041e95e747030 100644
(file)
--- 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))