diff --git a/embassy-stm32-wpan/src/ble.rs b/embassy-stm32-wpan/src/ble.rs index d8af861a..3a6cc6f0 100644 --- a/embassy-stm32-wpan/src/ble.rs +++ b/embassy-stm32-wpan/src/ble.rs @@ -16,11 +16,6 @@ pub struct Ble; impl Ble { pub(super) fn enable() { unsafe { - // Ensure reproducible behavior - BLE_CMD_BUFFER - .as_mut_ptr() - .write_volatile(MaybeUninit::zeroed().assume_init()); - LinkedListNode::init_head(EVT_QUEUE.as_mut_ptr()); TL_BLE_TABLE.as_mut_ptr().write_volatile(BleTable { diff --git a/embassy-stm32-wpan/src/sys.rs b/embassy-stm32-wpan/src/sys.rs index fb247f27..36b4a144 100644 --- a/embassy-stm32-wpan/src/sys.rs +++ b/embassy-stm32-wpan/src/sys.rs @@ -16,11 +16,6 @@ pub struct Sys; impl Sys { pub fn enable() { unsafe { - // Ensure reproducible behavior - SYS_CMD_BUF - .as_mut_ptr() - .write_volatile(MaybeUninit::zeroed().assume_init()); - LinkedListNode::init_head(SYSTEM_EVT_QUEUE.as_mut_ptr()); TL_SYS_TABLE.as_mut_ptr().write_volatile(SysTable {