stm32/wpan: reorg subsystems

This commit is contained in:
xoviat
2023-06-23 17:54:06 -05:00
parent 4dd48099be
commit 29f32ce00e
10 changed files with 41 additions and 34 deletions

View File

@ -145,14 +145,14 @@ impl Drop for EvtBox {
fn drop(&mut self) {
#[cfg(feature = "ble")]
unsafe {
use crate::mm;
use crate::sub::mm;
mm::MemoryManager::drop_event_packet(self.ptr)
};
#[cfg(feature = "mac")]
unsafe {
use crate::mac;
use crate::sub::mac;
mac::Mac::drop_event_packet(self.ptr)
}