mirror of
https://github.com/esp-rs/esp-idf-hal.git
synced 2025-10-02 14:44:51 +00:00
Allow modem splits even when only HW coex is used
This commit is contained in:
parent
9b8ff7b96b
commit
030a721445
@ -66,7 +66,7 @@ impl Modem {
|
|||||||
(&mut self.1, &mut self.2)
|
(&mut self.1, &mut self.2)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(amy(esp32h2, esp32h4))]
|
#[cfg(any(esp32h2, esp32h4))]
|
||||||
pub fn split(self) -> (ThreadModem, BluetoothModem) {
|
pub fn split(self) -> (ThreadModem, BluetoothModem) {
|
||||||
unsafe { (ThreadModem::new(), BluetoothModem::new()) }
|
unsafe { (ThreadModem::new(), BluetoothModem::new()) }
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user