diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-09-22 16:42:49 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2022-09-22 16:42:49 +0200 |
| commit | a0487380da42a71ab7532e2bc1befd1039c18a78 (patch) | |
| tree | bb235fc3ba54f31838f3b546f7b4734ee8b42558 /embassy-lora | |
| parent | 897b72c872183221e088611aa6f30989800afd2b (diff) | |
Replace futures::future::poll_fn -> core::future::poll_fn.
Diffstat (limited to 'embassy-lora')
| -rw-r--r-- | embassy-lora/src/stm32wl/mod.rs | 3 |
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. |
| 2 | use core::future::Future; | 2 | use core::future::{poll_fn, Future}; |
| 3 | use core::task::Poll; | 3 | use core::task::Poll; |
| 4 | 4 | ||
| 5 | use embassy_hal_common::{into_ref, Peripheral, PeripheralRef}; | 5 | use 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 | }; |
| 13 | use embassy_sync::waitqueue::AtomicWaker; | 13 | use embassy_sync::waitqueue::AtomicWaker; |
| 14 | use futures::future::poll_fn; | ||
| 15 | use lorawan_device::async_device::radio::{Bandwidth, PhyRxTx, RfConfig, RxQuality, SpreadingFactor, TxConfig}; | 14 | use lorawan_device::async_device::radio::{Bandwidth, PhyRxTx, RfConfig, RxQuality, SpreadingFactor, TxConfig}; |
| 16 | use lorawan_device::async_device::Timings; | 15 | use lorawan_device::async_device::Timings; |
| 17 | 16 | ||
