diff options
author | Grant Miller <GrantM11235@gmail.com> | 2022-07-03 16:54:01 -0500 |
---|---|---|
committer | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2022-07-23 01:33:22 +0200 |
commit | bff0ad9286ea219d0e19855b8ed8ba3e1a0f1bdf (patch) | |
tree | 46bd08d03a40fc4bd0828e95d62ad6e513298645 /embassy-nrf | |
parent | 65a82d02d17fc491246eae219f416e565719c0ac (diff) | |
download | embassy-bff0ad9286ea219d0e19855b8ed8ba3e1a0f1bdf.zip |
Update embassy-rp
Diffstat (limited to 'embassy-nrf')
-rw-r--r-- | embassy-nrf/src/gpio.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-nrf/src/gpio.rs b/embassy-nrf/src/gpio.rs index e5764f8a..53ca15d3 100644 --- a/embassy-nrf/src/gpio.rs +++ b/embassy-nrf/src/gpio.rs @@ -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(), }) |