summaryrefslogtreecommitdiff
path: root/src/stmf0/ao_adc_fast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stmf0/ao_adc_fast.h')
-rw-r--r--src/stmf0/ao_adc_fast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stmf0/ao_adc_fast.h b/src/stmf0/ao_adc_fast.h
index b8b5e003..3f0b0547 100644
--- a/src/stmf0/ao_adc_fast.h
+++ b/src/stmf0/ao_adc_fast.h
@@ -28,7 +28,7 @@ ao_adc_init(void);
/* Total ring size in samples */
#define AO_ADC_RING_SIZE 256
-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))