From ffb7c8a5b0becd01bc17587c29ca1e52e5650074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Wed, 28 Jul 2021 20:34:28 +0000 Subject: [PATCH] dds: the quadspi fifo is 32 byte deep --- ad9959/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ad9959/src/lib.rs b/ad9959/src/lib.rs index b12cf09..dea49ca 100644 --- a/ad9959/src/lib.rs +++ b/ad9959/src/lib.rs @@ -535,7 +535,7 @@ impl DdsConfig { /// Represents a means of serializing a DDS profile for writing to a stream. pub struct ProfileSerializer { - data: [u8; 16], + data: [u8; 32], index: usize, mode: Mode, } @@ -548,7 +548,7 @@ impl ProfileSerializer { fn new(mode: Mode) -> Self { Self { mode, - data: [0; 16], + data: [0; 32], index: 0, } }