Skip to content

Commit 299e6a9

Browse files
committed
Fix E51G wrong NUM_TIMERS definition
1 parent 08ca83c commit 299e6a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hal/src/async_hal/timer.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ impl_async_count16!((TC3, 0), (TC4, 1), (TC5, 2));
133133
#[cfg(feature = "samd21")]
134134
const NUM_TIMERS: usize = 3;
135135

136-
#[cfg(feature = "samd51g")]
136+
#[cfg(any(feature = "samd51g", feature = "periph-e51g"))]
137137
impl_async_count16!((TC2, 0), (TC3, 1));
138-
#[cfg(feature = "samd51g")]
138+
#[cfg(any(feature = "samd51g", feature = "periph-e51g"))]
139139
const NUM_TIMERS: usize = 2;
140140

141141
#[cfg(feature = "periph-d51j")]

0 commit comments

Comments
 (0)