From 8314844aeb59cfb7e47670e0946024f4177540bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Thu, 4 Feb 2021 13:36:24 +0100 Subject: [PATCH] pounder: moved SAMPLE_BUFFER_SIZE --- src/hardware/pounder/timestamp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/pounder/timestamp.rs b/src/hardware/pounder/timestamp.rs index 7e39a94..0c06192 100644 --- a/src/hardware/pounder/timestamp.rs +++ b/src/hardware/pounder/timestamp.rs @@ -26,7 +26,7 @@ use stm32h7xx_hal as hal; use hal::dma::{dma::DmaConfig, PeripheralToMemory, Transfer}; -use crate::{hardware::timers, SAMPLE_BUFFER_SIZE}; +use crate::hardware::{design_parameters::SAMPLE_BUFFER_SIZE, timers}; // Three buffers are required for double buffered mode - 2 are owned by the DMA stream and 1 is the // working data provided to the application. These buffers must exist in a DMA-accessible memory