mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 00:02:28 +00:00
revert reset changes
This commit is contained in:
parent
9e8de5f596
commit
391f0b5d09
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user