projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: don't build fox1ihu by default
[fw/altos]
/
src
/
stmf0
/
ao_adc_fast.h
diff --git
a/src/stmf0/ao_adc_fast.h
b/src/stmf0/ao_adc_fast.h
index b8b5e003bd775b7ee50e77dc29fa70bd0b216386..504651e5856c7b43c0fb1a120bffb93a001eaec3 100644
(file)
--- a/
src/stmf0/ao_adc_fast.h
+++ b/
src/stmf0/ao_adc_fast.h
@@
-26,9
+26,9
@@
void
ao_adc_init(void);
/* Total ring size in samples */
ao_adc_init(void);
/* Total ring size in samples */
-#define AO_ADC_RING_SIZE
256
+#define AO_ADC_RING_SIZE
1024
-extern uint16_t ao_adc_ring[AO_ADC_RING_SIZE];
+extern uint16_t ao_adc_ring[AO_ADC_RING_SIZE]
__attribute__((aligned(4)))
;
#define ao_adc_ring_step(pos,inc) (((pos) + (inc)) & (AO_ADC_RING_SIZE - 1))
#define ao_adc_ring_step(pos,inc) (((pos) + (inc)) & (AO_ADC_RING_SIZE - 1))