Skip to content

Commit 7240eca

Browse files
committed
TimerAlarmRepeatingDriverSTM32: setTimer()
1 parent e6c605e commit 7240eca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AudioTimer/AudioTimerSTM32.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ class TimerAlarmRepeatingDriverSTM32 : public TimerAlarmRepeatingDriverBase {
2727
}
2828
/// selects the timer: 0 = TIM1, 1 = TIM2,2 = TIM3, 3 = TIM4, 4 = TIM5
2929
void setTimer(int timerIdx) override {
30-
setTimer(timers[timerIdx])
30+
setTimer(timers[timerIdx]);
3131
timer_index = timerIdx;
3232
}
3333

3434
/// select the timer
35-
void setTimer(TIM_TypeDef timerDef) override {
35+
void setTimer(TIM_TypeDef *timerDef) {
3636
if (this->timer != nullptr) {
3737
delete this->timer;
3838
}

0 commit comments

Comments
 (0)