Skip to content

Commit

Permalink
that should do the job
Browse files Browse the repository at this point in the history
  • Loading branch information
robamu committed May 21, 2024
1 parent acf73e9 commit 3c3b434
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion satrs/src/pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ pub mod heapless_mod {
static mut $pool_name: core::mem::MaybeUninit<[u8; $num_blocks * $block_size]> =
core::mem::MaybeUninit::new([0; $num_blocks * $block_size]);
static mut $sizes_list_name: core::mem::MaybeUninit<[usize; $num_blocks]> =
core::mem::MaybeUninit::new([satrs::pool::STORE_FREE; $num_blocks]);
core::mem::MaybeUninit::new([$crate::pool::STORE_FREE; $num_blocks]);
};
}

Expand Down Expand Up @@ -1573,6 +1573,7 @@ mod tests {
#[cfg(feature = "heapless")]
mod heapless_tests {
use super::*;
use crate::static_subpool;
use core::mem::MaybeUninit;

const SUBPOOL_1_BLOCK_SIZE: usize = 4;
Expand Down

0 comments on commit 3c3b434

Please sign in to comment.