Skip to content

Commit 0a94479

Browse files
Fixup GPIOTE
1 parent 619bee7 commit 0a94479

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

nrf-hal-common/src/gpiote.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@
33
//! The GPIO tasks and events (GPIOTE) module provides functionality for accessing GPIO pins using tasks and events.
44
55
#[cfg(feature = "51")]
6-
use crate::target::{gpio, GPIO as P0};
6+
use crate::pac::GPIO as P0;
77

88
#[cfg(not(feature = "51"))]
9-
use crate::target::{p0 as gpio, P0};
9+
use crate::pac::P0;
1010

1111
#[cfg(any(feature = "52833", feature = "52840"))]
12-
use crate::target::P1;
12+
use crate::pac::P1;
1313

1414
use {
1515
crate::gpio::{
1616
Floating, Input, Level, OpenDrain, Output, Pin, Port, PullDown, PullUp, PushPull,
1717
},
18-
crate::target::gpiote::{_EVENTS_IN, _EVENTS_PORT, _TASKS_OUT},
19-
crate::target::{generic::Reg, GPIOTE},
18+
crate::pac::gpiote::{_EVENTS_IN, _EVENTS_PORT, _TASKS_OUT},
19+
crate::pac::{generic::Reg, GPIOTE},
2020
};
2121

2222
#[cfg(not(feature = "51"))]
23-
use crate::target::gpiote::{_TASKS_CLR, _TASKS_SET};
23+
use crate::pac::gpiote::{_TASKS_CLR, _TASKS_SET};
2424

2525
#[cfg(not(feature = "51"))]
2626
const NUM_CHANNELS: usize = 8;

0 commit comments

Comments
 (0)