Skip to content

Commit

Permalink
Fix E51G wrong NUM_TIMERS definition
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeaurivage committed Mar 6, 2024
1 parent b9477a2 commit 521889c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hal/src/async_hal/timer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ impl_async_count16!((TC3, 0), (TC4, 1), (TC5, 2));
#[cfg(feature = "samd21")]
const NUM_TIMERS: usize = 3;

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

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

0 comments on commit 521889c

Please sign in to comment.