revert reset changes
This commit is contained in:
parent
9e8de5f596
commit
391f0b5d09
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user