nrf/gpiote: update output channel to new API

This commit is contained in:
Dario Nieuwenhuis
2021-03-27 04:01:48 +01:00
parent 2bd9323f28
commit 90f599bc2f
2 changed files with 34 additions and 57 deletions

View File

@ -117,7 +117,7 @@ pub enum OutputDrive {
/// GPIO output driver.
pub struct Output<'d, T: Pin> {
pin: T,
pub(crate) pin: T,
phantom: PhantomData<&'d mut T>,
}