diff options
| author | Abraham Hamidi <[email protected]> | 2025-09-19 16:13:34 -0500 |
|---|---|---|
| committer | Abraham Hamidi <[email protected]> | 2025-09-24 15:58:33 -0500 |
| commit | 987009df7bf77dc963e5cff5c3cbdf565839c17c (patch) | |
| tree | 54fdf8e0ff44660052cec5c835ee2a84230ca4c5 /examples | |
| parent | 56019ba197443e16b4f0b3a0fe3ff85985f6e45c (diff) | |
feat(nrf/spim): erase Instance type from Spim
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/nrf52840/src/bin/ethernet_enc28j60.rs | 2 | ||||
| -rw-r--r-- | examples/nrf52840/src/bin/wifi_esp_hosted.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/nrf52840/src/bin/ethernet_enc28j60.rs b/examples/nrf52840/src/bin/ethernet_enc28j60.rs index 3bb255a72..e59afd37f 100644 --- a/examples/nrf52840/src/bin/ethernet_enc28j60.rs +++ b/examples/nrf52840/src/bin/ethernet_enc28j60.rs | |||
| @@ -25,7 +25,7 @@ bind_interrupts!(struct Irqs { | |||
| 25 | async fn net_task( | 25 | async fn net_task( |
| 26 | mut runner: embassy_net::Runner< | 26 | mut runner: embassy_net::Runner< |
| 27 | 'static, | 27 | 'static, |
| 28 | Enc28j60<ExclusiveDevice<Spim<'static, peripherals::SPI3>, Output<'static>, Delay>, Output<'static>>, | 28 | Enc28j60<ExclusiveDevice<Spim<'static>, Output<'static>, Delay>, Output<'static>>, |
| 29 | >, | 29 | >, |
| 30 | ) -> ! { | 30 | ) -> ! { |
| 31 | runner.run().await | 31 | runner.run().await |
diff --git a/examples/nrf52840/src/bin/wifi_esp_hosted.rs b/examples/nrf52840/src/bin/wifi_esp_hosted.rs index 2dd9abfaa..1bc35746a 100644 --- a/examples/nrf52840/src/bin/wifi_esp_hosted.rs +++ b/examples/nrf52840/src/bin/wifi_esp_hosted.rs | |||
| @@ -27,7 +27,7 @@ bind_interrupts!(struct Irqs { | |||
| 27 | async fn wifi_task( | 27 | async fn wifi_task( |
| 28 | runner: hosted::Runner< | 28 | runner: hosted::Runner< |
| 29 | 'static, | 29 | 'static, |
| 30 | ExclusiveDevice<Spim<'static, peripherals::SPI3>, Output<'static>, Delay>, | 30 | ExclusiveDevice<Spim<'static>, Output<'static>, Delay>, |
| 31 | Input<'static>, | 31 | Input<'static>, |
| 32 | Output<'static>, | 32 | Output<'static>, |
| 33 | >, | 33 | >, |
