mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 06:42:32 +00:00
Fix build for nrfs with 32 gpios
This commit is contained in:
parent
e539cd32ca
commit
61b1d4e188
@ -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 New Issue
Block a user