From 49eb2f769eb06b42a20833baa0ed0ed0dc1add27 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sat, 12 Feb 2022 01:33:56 +0100 Subject: [PATCH] nrf: remove stray mention of OptionalPin --- embassy-nrf/src/spim.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/embassy-nrf/src/spim.rs b/embassy-nrf/src/spim.rs index 976a546c..8f9ebc10 100644 --- a/embassy-nrf/src/spim.rs +++ b/embassy-nrf/src/spim.rs @@ -128,7 +128,6 @@ impl<'d, T: Instance> Spim<'d, T> { } // Select pins. - // Note: OptionalPin reports 'disabled' for psel_bits when no pin was selected. r.psel.sck.write(|w| unsafe { w.bits(sck.psel_bits()) }); r.psel.mosi.write(|w| unsafe { w.bits(mosi.psel_bits()) }); r.psel.miso.write(|w| unsafe { w.bits(miso.psel_bits()) });