revert to 16 byte dds profile
... as 32 pulls in a slow memclr in flash A case for MaybeUninit?
This commit is contained in:
parent
a05fb6b536
commit
b7c4858a1d
|
@ -536,7 +536,7 @@ impl DdsConfig {
|
||||||
|
|
||||||
/// Represents a means of serializing a DDS profile for writing to a stream.
|
/// Represents a means of serializing a DDS profile for writing to a stream.
|
||||||
pub struct ProfileSerializer {
|
pub struct ProfileSerializer {
|
||||||
data: [u8; 32],
|
data: [u8; 16],
|
||||||
index: usize,
|
index: usize,
|
||||||
mode: Mode,
|
mode: Mode,
|
||||||
}
|
}
|
||||||
|
@ -549,7 +549,7 @@ impl ProfileSerializer {
|
||||||
fn new(mode: Mode) -> Self {
|
fn new(mode: Mode) -> Self {
|
||||||
Self {
|
Self {
|
||||||
mode,
|
mode,
|
||||||
data: [0; 32],
|
data: [0; 16],
|
||||||
index: 0,
|
index: 0,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue