Update embassy-rp

This commit is contained in:
Grant Miller
2022-07-03 16:54:01 -05:00
committed by Dario Nieuwenhuis
parent 65a82d02d1
commit bff0ad9286
4 changed files with 50 additions and 59 deletions

View File

@ -417,7 +417,7 @@ impl AnyPin {
Self { pin_port }
}
pub fn unborrow_and_degrade<'a>(pin: impl Unborrow<Target = impl Pin + 'a> + 'a) -> Unborrowed<'a, Self> {
pub(crate) fn unborrow_and_degrade<'a>(pin: impl Unborrow<Target = impl Pin + 'a> + 'a) -> Unborrowed<'a, Self> {
Unborrowed::new(AnyPin {
pin_port: pin.unborrow().pin_port(),
})