From 91f722f4500a74c98375c36dcf8491794b3dc91b Mon Sep 17 00:00:00 2001 From: Ryan Summers Date: Wed, 2 Dec 2020 17:11:06 +0100 Subject: [PATCH] Fixing buffer size --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 2cf5645..6e120c9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -58,7 +58,7 @@ use heapless::{consts::*, String}; const SAMPLE_FREQUENCY_KHZ: u32 = 500; // The desired ADC sample processing buffer size. -const SAMPLE_BUFFER_SIZE: usize = 2; +const SAMPLE_BUFFER_SIZE: usize = 1; #[link_section = ".sram3.eth"] static mut DES_RING: ethernet::DesRing = ethernet::DesRing::new();