diff options
Diffstat (limited to 'cyw43/src/bus.rs')
| -rw-r--r-- | cyw43/src/bus.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cyw43/src/bus.rs b/cyw43/src/bus.rs index 0b5632cf8..014109038 100644 --- a/cyw43/src/bus.rs +++ b/cyw43/src/bus.rs | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | use embassy_futures::yield_now; | 1 | use embassy_futures::yield_now; |
| 2 | use embassy_time::{Duration, Timer}; | 2 | use embassy_time::Timer; |
| 3 | use embedded_hal_1::digital::OutputPin; | 3 | use embedded_hal_1::digital::OutputPin; |
| 4 | use futures::FutureExt; | 4 | use futures::FutureExt; |
| 5 | 5 | ||
| @@ -51,9 +51,9 @@ where | |||
| 51 | pub async fn init(&mut self) { | 51 | pub async fn init(&mut self) { |
| 52 | // Reset | 52 | // Reset |
| 53 | self.pwr.set_low().unwrap(); | 53 | self.pwr.set_low().unwrap(); |
| 54 | Timer::after(Duration::from_millis(20)).await; | 54 | Timer::after_millis(20).await; |
| 55 | self.pwr.set_high().unwrap(); | 55 | self.pwr.set_high().unwrap(); |
| 56 | Timer::after(Duration::from_millis(250)).await; | 56 | Timer::after_millis(250).await; |
| 57 | 57 | ||
| 58 | while self | 58 | while self |
| 59 | .read32_swapped(REG_BUS_TEST_RO) | 59 | .read32_swapped(REG_BUS_TEST_RO) |
