Skip to content

Commit 5bafcbc

Browse files
author
James Munns
committed
More cfg massaging
1 parent 21ed1f1 commit 5bafcbc

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

nrf-hal-common/src/timer.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ use crate::pac::{
99
};
1010

1111
#[cfg(not(feature = "9160"))]
12-
use crate::pac::{
13-
timer0::RegisterBlock as RegBlock0, timer3::RegisterBlock as RegBlock3, Interrupt, TIMER0,
14-
TIMER1, TIMER2,
15-
};
12+
use crate::pac::{timer0::RegisterBlock as RegBlock0, Interrupt, TIMER0, TIMER1, TIMER2};
1613

1714
use cast::u32;
1815
use embedded_hal::{
@@ -24,7 +21,7 @@ use nb::{self, block};
2421
use void::{unreachable, Void};
2522

2623
#[cfg(any(feature = "52832", feature = "52833", feature = "52840"))]
27-
use crate::pac::{TIMER3, TIMER4};
24+
use crate::pac::{timer3::RegisterBlock as RegBlock3, TIMER3, TIMER4};
2825

2926
use core::marker::PhantomData;
3027

0 commit comments

Comments
 (0)