diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-07-23 14:00:19 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2022-07-23 14:00:19 +0200 |
| commit | 4901c34d9c4cd326ab9bca02dd099a663da2567f (patch) | |
| tree | 8225afebb595fb10c1d67148c0d19b7b732853da /embassy-hal-common/src/lib.rs | |
| parent | 8a9d2f59af004902d3978a2922843833b98bcce0 (diff) | |
Rename Unborrowed -> PeripheralRef, Unborrow -> Peripheral
Diffstat (limited to 'embassy-hal-common/src/lib.rs')
| -rw-r--r-- | embassy-hal-common/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-hal-common/src/lib.rs b/embassy-hal-common/src/lib.rs index da7ae9919..d3d9e0a84 100644 --- a/embassy-hal-common/src/lib.rs +++ b/embassy-hal-common/src/lib.rs | |||
| @@ -6,10 +6,10 @@ pub(crate) mod fmt; | |||
| 6 | 6 | ||
| 7 | pub mod drop; | 7 | pub mod drop; |
| 8 | mod macros; | 8 | mod macros; |
| 9 | mod peripheral; | ||
| 9 | pub mod ratio; | 10 | pub mod ratio; |
| 10 | pub mod ring_buffer; | 11 | pub mod ring_buffer; |
| 11 | mod unborrow; | 12 | pub use peripheral::{Peripheral, PeripheralRef}; |
| 12 | pub use unborrow::{Unborrow, Unborrowed}; | ||
| 13 | 13 | ||
| 14 | /// Low power blocking wait loop using WFE/SEV. | 14 | /// Low power blocking wait loop using WFE/SEV. |
| 15 | pub fn low_power_wait_until(mut condition: impl FnMut() -> bool) { | 15 | pub fn low_power_wait_until(mut condition: impl FnMut() -> bool) { |
