diff options
| author | Henrik Alsér <[email protected]> | 2022-11-22 02:13:03 +0100 |
|---|---|---|
| committer | Henrik Alsér <[email protected]> | 2022-11-22 02:13:03 +0100 |
| commit | da9f82f5079ace916b8b5d26fe261cb98fb483fc (patch) | |
| tree | 11e47d661fef5b07211e838be8647a655864d2fa /embassy-nrf/src | |
| parent | e6b9722a31fe0a61d1ef66aa796be89cd95b1ea9 (diff) | |
Fix pin refs
Diffstat (limited to 'embassy-nrf/src')
| -rw-r--r-- | embassy-nrf/src/spis.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-nrf/src/spis.rs b/embassy-nrf/src/spis.rs index 61c5fe998..44af61a19 100644 --- a/embassy-nrf/src/spis.rs +++ b/embassy-nrf/src/spis.rs | |||
| @@ -80,7 +80,7 @@ impl<'d, T: Instance> Spis<'d, T> { | |||
| 80 | miso: impl Peripheral<P = impl GpioPin> + 'd, | 80 | miso: impl Peripheral<P = impl GpioPin> + 'd, |
| 81 | config: Config, | 81 | config: Config, |
| 82 | ) -> Self { | 82 | ) -> Self { |
| 83 | into_ref!(cs, sck, mosi); | 83 | into_ref!(cs, sck, miso); |
| 84 | Self::new_inner( | 84 | Self::new_inner( |
| 85 | spis, | 85 | spis, |
| 86 | irq, | 86 | irq, |
| @@ -100,7 +100,7 @@ impl<'d, T: Instance> Spis<'d, T> { | |||
| 100 | mosi: impl Peripheral<P = impl GpioPin> + 'd, | 100 | mosi: impl Peripheral<P = impl GpioPin> + 'd, |
| 101 | config: Config, | 101 | config: Config, |
| 102 | ) -> Self { | 102 | ) -> Self { |
| 103 | into_ref!(cs, sck, miso); | 103 | into_ref!(cs, sck, mosi); |
| 104 | Self::new_inner( | 104 | Self::new_inner( |
| 105 | spis, | 105 | spis, |
| 106 | irq, | 106 | irq, |
