revert reset changes

This commit is contained in:
xoviat 2023-06-17 08:37:00 -05:00
parent 9e8de5f596
commit 391f0b5d09
2 changed files with 0 additions and 10 deletions

View File

@ -16,11 +16,6 @@ pub struct Ble;
impl Ble { impl Ble {
pub(super) fn enable() { pub(super) fn enable() {
unsafe { unsafe {
// Ensure reproducible behavior
BLE_CMD_BUFFER
.as_mut_ptr()
.write_volatile(MaybeUninit::zeroed().assume_init());
LinkedListNode::init_head(EVT_QUEUE.as_mut_ptr()); LinkedListNode::init_head(EVT_QUEUE.as_mut_ptr());
TL_BLE_TABLE.as_mut_ptr().write_volatile(BleTable { TL_BLE_TABLE.as_mut_ptr().write_volatile(BleTable {

View File

@ -16,11 +16,6 @@ pub struct Sys;
impl Sys { impl Sys {
pub fn enable() { pub fn enable() {
unsafe { 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()); LinkedListNode::init_head(SYSTEM_EVT_QUEUE.as_mut_ptr());
TL_SYS_TABLE.as_mut_ptr().write_volatile(SysTable { TL_SYS_TABLE.as_mut_ptr().write_volatile(SysTable {