From 48d164e3d4b2ef27fae20fae63b8014803a7b178 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 7 Jan 2018 21:44:39 -0800 Subject: altos/stmf0: Use double buffering for ChaosKey This improves the USB performance of ChaosKey so that it doesn't NAK during data transfers at all. Signed-off-by: Keith Packard --- src/stmf0/ao_adc_fast.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stmf0/ao_adc_fast.h') diff --git a/src/stmf0/ao_adc_fast.h b/src/stmf0/ao_adc_fast.h index 3f0b0547..504651e5 100644 --- a/src/stmf0/ao_adc_fast.h +++ b/src/stmf0/ao_adc_fast.h @@ -26,7 +26,7 @@ void 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] __attribute__((aligned(4))); -- cgit v1.2.3