Allow modem splits even when only HW coex is used

This commit is contained in:
ivmarkov 2024-09-21 15:00:25 +00:00
parent 9b8ff7b96b
commit 030a721445

View File

@ -66,7 +66,7 @@ impl Modem {
(&mut self.1, &mut self.2)
}
#[cfg(amy(esp32h2, esp32h4))]
#[cfg(any(esp32h2, esp32h4))]
pub fn split(self) -> (ThreadModem, BluetoothModem) {
unsafe { (ThreadModem::new(), BluetoothModem::new()) }
}