aboutsummaryrefslogtreecommitdiff
path: root/embassy-lora
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2022-09-22 16:42:49 +0200
committerDario Nieuwenhuis <[email protected]>2022-09-22 16:42:49 +0200
commita0487380da42a71ab7532e2bc1befd1039c18a78 (patch)
treebb235fc3ba54f31838f3b546f7b4734ee8b42558 /embassy-lora
parent897b72c872183221e088611aa6f30989800afd2b (diff)
Replace futures::future::poll_fn -> core::future::poll_fn.
Diffstat (limited to 'embassy-lora')
-rw-r--r--embassy-lora/src/stm32wl/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/embassy-lora/src/stm32wl/mod.rs b/embassy-lora/src/stm32wl/mod.rs
index 4d11244b6..e28fa2c1a 100644
--- a/embassy-lora/src/stm32wl/mod.rs
+++ b/embassy-lora/src/stm32wl/mod.rs
@@ -1,5 +1,5 @@
1//! A radio driver integration for the radio found on STM32WL family devices. 1//! A radio driver integration for the radio found on STM32WL family devices.
2use core::future::Future; 2use core::future::{poll_fn, Future};
3use core::task::Poll; 3use core::task::Poll;
4 4
5use embassy_hal_common::{into_ref, Peripheral, PeripheralRef}; 5use embassy_hal_common::{into_ref, Peripheral, PeripheralRef};
@@ -11,7 +11,6 @@ use embassy_stm32::subghz::{
11 Status, SubGhz, TcxoMode, TcxoTrim, Timeout, TxParams, 11 Status, SubGhz, TcxoMode, TcxoTrim, Timeout, TxParams,
12}; 12};
13use embassy_sync::waitqueue::AtomicWaker; 13use embassy_sync::waitqueue::AtomicWaker;
14use futures::future::poll_fn;
15use lorawan_device::async_device::radio::{Bandwidth, PhyRxTx, RfConfig, RxQuality, SpreadingFactor, TxConfig}; 14use lorawan_device::async_device::radio::{Bandwidth, PhyRxTx, RfConfig, RxQuality, SpreadingFactor, TxConfig};
16use lorawan_device::async_device::Timings; 15use lorawan_device::async_device::Timings;
17 16