Fix build for nrfs with 32 gpios
This commit is contained in:
parent
e539cd32ca
commit
61b1d4e188
1 changed files with 3 additions and 1 deletions
|
@ -7,7 +7,9 @@ use crate::hal::gpio::{Input, Level, Output, Pin, Port};
|
|||
use crate::interrupt;
|
||||
use crate::pac::generic::Reg;
|
||||
use crate::pac::gpiote::_TASKS_OUT;
|
||||
use crate::pac::{p0 as gpio, GPIOTE, P0, P1};
|
||||
#[cfg(any(feature = "52833", feature = "52840"))]
|
||||
use crate::pac::P1;
|
||||
use crate::pac::{p0 as gpio, GPIOTE, P0};
|
||||
|
||||
#[cfg(not(feature = "51"))]
|
||||
use crate::pac::gpiote::{_TASKS_CLR, _TASKS_SET};
|
||||
|
|
Loading…
Reference in a new issue