diff options
| author | Adam Greig <[email protected]> | 2023-10-15 00:57:25 +0100 |
|---|---|---|
| committer | Adam Greig <[email protected]> | 2023-10-15 01:30:12 +0100 |
| commit | 0621e957a0ddc7010d46b3ea3ddc8b9852bc8333 (patch) | |
| tree | f6caefe939109e55a73e9141c736d2f6c20f51e8 /embassy-lora/src | |
| parent | 7559f9e5834799b041d899767ef4305dcfdf0181 (diff) | |
time: Update examples, tests, and other code to use new Timer::after_x convenience methods
Diffstat (limited to 'embassy-lora/src')
| -rw-r--r-- | embassy-lora/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-lora/src/lib.rs b/embassy-lora/src/lib.rs index 0a9cea16e..5637802bb 100644 --- a/embassy-lora/src/lib.rs +++ b/embassy-lora/src/lib.rs | |||
| @@ -34,6 +34,6 @@ impl lorawan_device::async_device::radio::Timer for LoraTimer { | |||
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | async fn delay_ms(&mut self, millis: u64) { | 36 | async fn delay_ms(&mut self, millis: u64) { |
| 37 | Timer::after(Duration::from_millis(millis)).await | 37 | Timer::after_millis(millis).await |
| 38 | } | 38 | } |
| 39 | } | 39 | } |
