aboutsummaryrefslogtreecommitdiff
path: root/embassy-nrf/src/spis.rs
diff options
context:
space:
mode:
authorHenrik Alsér <[email protected]>2022-11-22 02:13:03 +0100
committerHenrik Alsér <[email protected]>2022-11-22 02:13:03 +0100
commitda9f82f5079ace916b8b5d26fe261cb98fb483fc (patch)
tree11e47d661fef5b07211e838be8647a655864d2fa /embassy-nrf/src/spis.rs
parente6b9722a31fe0a61d1ef66aa796be89cd95b1ea9 (diff)
Fix pin refs
Diffstat (limited to 'embassy-nrf/src/spis.rs')
-rw-r--r--embassy-nrf/src/spis.rs4
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,