nrf: remove stray mention of OptionalPin

This commit is contained in:
Dario Nieuwenhuis 2022-02-12 01:33:56 +01:00
parent d708be7fe5
commit 49eb2f769e

View File

@ -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()) });