Skip to content

Commit 037765b

Browse files
author
Jonathan Pallant (42 Technology)
committed
Merge branch 'nrf52832-pwm' of https://github.com/Dirbaio/nrf-hal into nrf52832-pwm
2 parents 3b396cd + 4c008ed commit 037765b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

nrf-hal-common/src/pwm.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ impl Instance for crate::pac::PWM3 {
11161116
}
11171117

11181118
#[cfg(any(feature = "9160"))]
1119-
impl Instance for PWM0_NS {
1119+
impl Instance for crate::pac::PWM0_NS {
11201120
const INTERRUPT: Interrupt = Interrupt::PWM0;
11211121
#[inline(always)]
11221122
fn buffer() -> &'static Cell<[u16; 4]> {
@@ -1125,23 +1125,23 @@ impl Instance for PWM0_NS {
11251125
}
11261126

11271127
#[cfg(any(feature = "9160"))]
1128-
impl Instance for PWM1_NS {
1128+
impl Instance for crate::pac::PWM1_NS {
11291129
const INTERRUPT: Interrupt = Interrupt::PWM1;
11301130
fn buffer() -> &'static Cell<[u16; 4]> {
11311131
unsafe { &BUF1 }
11321132
}
11331133
}
11341134

11351135
#[cfg(any(feature = "9160"))]
1136-
impl Instance for PWM2_NS {
1136+
impl Instance for crate::pac::PWM2_NS {
11371137
const INTERRUPT: Interrupt = Interrupt::PWM2;
11381138
fn buffer() -> &'static Cell<[u16; 4]> {
11391139
unsafe { &BUF2 }
11401140
}
11411141
}
11421142

11431143
#[cfg(any(feature = "9160"))]
1144-
impl Instance for PWM3_NS {
1144+
impl Instance for crate::pac::PWM3_NS {
11451145
const INTERRUPT: Interrupt = Interrupt::PWM3;
11461146
fn buffer() -> &'static Cell<[u16; 4]> {
11471147
unsafe { &BUF3 }

0 commit comments

Comments
 (0)