Finished Timer IRQ abstraction
This commit is contained in:
9
Core/Src/Reg/SHAL_TIM_CALLBACK.cpp
Normal file
9
Core/Src/Reg/SHAL_TIM_CALLBACK.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// Created by Luca on 8/28/2025.
|
||||
//
|
||||
|
||||
#include "SHAL_TIMER_CALLBACK.h"
|
||||
|
||||
void registerTimerCallback(Timer_Key key, TimerCallback callback){
|
||||
timer_callbacks[static_cast<int>(key)] = callback;
|
||||
}
|
||||
Reference in New Issue
Block a user