Skip to content

Commit

Permalink
Tidy code
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Jan 15, 2024
1 parent dacb6fb commit adebc0e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sming/Core/HardwareTimer.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,10 @@ class Timer1Api : public CallbackTimerApi<Timer1Api<clkdiv, mode>>
template <hw_timer_clkdiv_t clkdiv, HardwareTimerMode mode> uint8_t Timer1Api<clkdiv, mode>::state;
template <hw_timer_clkdiv_t clkdiv, HardwareTimerMode mode> uint32_t Timer1Api<clkdiv, mode>::interval;

template <hw_timer_clkdiv_t clkdiv = TIMER_CLKDIV_16, HardwareTimerMode mode = eHWT_NonMaskable>

/**
* @brief Hardware Timer class template with selectable divider and interrupt mode
*/
template <hw_timer_clkdiv_t clkdiv = TIMER_CLKDIV_16, HardwareTimerMode mode = eHWT_NonMaskable>
using HardwareTimer1 = CallbackTimer<Timer1Api<clkdiv, mode>>;

/**
Expand Down

0 comments on commit adebc0e

Please sign in to comment.