615: rp: remove OptionalPin r=Dirbaio a=Dirbaio

Mirror of https://github.com/embassy-rs/embassy/pull/605 for rp2040

Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
This commit is contained in:
bors[bot]
2022-02-12 00:46:40 +00:00
committed by GitHub
6 changed files with 65 additions and 82 deletions

View File

@ -479,8 +479,6 @@ pub(crate) mod sealed {
.modify(|w| w.set_ospeedr(pin, speed.into()));
}
}
pub trait OptionalPin {}
}
pub trait Pin: sealed::Pin + Sized + 'static {