Drop C-style 'void' argument
This commit is contained in:
@@ -86,10 +86,10 @@ void HAL_timer_start(const uint8_t timer_num, const uint32_t frequency) {
|
||||
|
||||
//forward the interrupt
|
||||
extern "C" void TIM5_IRQHandler() {
|
||||
((void(*)(void))timerConfig[0].callback)();
|
||||
((void(*)())timerConfig[0].callback)();
|
||||
}
|
||||
extern "C" void TIM7_IRQHandler() {
|
||||
((void(*)(void))timerConfig[1].callback)();
|
||||
((void(*)())timerConfig[1].callback)();
|
||||
}
|
||||
|
||||
void HAL_timer_set_compare(const uint8_t timer_num, const uint32_t compare) {
|
||||
|
||||
Reference in New Issue
Block a user