stm32: misc. cleanup

This commit is contained in:
xoviat
2023-09-17 18:47:22 -05:00
parent a6ef314be1
commit feaeee1e83
5 changed files with 14 additions and 17 deletions

View File

@ -1,4 +1,3 @@
use core::marker::PhantomData;
use core::ptr;
use embassy_stm32::ipcc::Ipcc;
@ -13,7 +12,7 @@ use crate::unsafe_linked_list::LinkedListNode;
use crate::{channels, evt};
pub struct Ble {
phantom: PhantomData<Ble>,
_private: (),
}
impl Ble {
@ -29,7 +28,7 @@ impl Ble {
});
}
Self { phantom: PhantomData }
Self { _private: () }
}
/// `HW_IPCC_BLE_EvtNot`
pub async fn tl_read(&self) -> EvtBox<Self> {