From da9f82f5079ace916b8b5d26fe261cb98fb483fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Alse=CC=81r?= Date: Tue, 22 Nov 2022 02:13:03 +0100 Subject: [PATCH] Fix pin refs --- embassy-nrf/src/spis.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/embassy-nrf/src/spis.rs b/embassy-nrf/src/spis.rs index 61c5fe99..44af61a1 100644 --- a/embassy-nrf/src/spis.rs +++ b/embassy-nrf/src/spis.rs @@ -80,7 +80,7 @@ impl<'d, T: Instance> Spis<'d, T> { miso: impl Peripheral

+ 'd, config: Config, ) -> Self { - into_ref!(cs, sck, mosi); + into_ref!(cs, sck, miso); Self::new_inner( spis, irq, @@ -100,7 +100,7 @@ impl<'d, T: Instance> Spis<'d, T> { mosi: impl Peripheral

+ 'd, config: Config, ) -> Self { - into_ref!(cs, sck, miso); + into_ref!(cs, sck, mosi); Self::new_inner( spis, irq,