diff options
| -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, |
