mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-06-12 02:36:00 +00:00
Fixed includes
This commit is contained in:
parent
d031d66e71
commit
580524c6e6
@ -1,5 +1,6 @@
|
|||||||
#include <sta/rtos/timer.hpp>
|
#include <sta/rtos/timer.hpp>
|
||||||
#include <sta/debug/debug.hpp>
|
#include <sta/debug/debug.hpp>
|
||||||
|
#include <sta/debug/assert.hpp>
|
||||||
|
|
||||||
namespace sta {
|
namespace sta {
|
||||||
RtosTimer::RtosTimer(){}
|
RtosTimer::RtosTimer(){}
|
||||||
@ -10,7 +11,7 @@ namespace sta {
|
|||||||
timer_attr_.cb_size = sizeof(osTimerAttr_t);
|
timer_attr_.cb_size = sizeof(osTimerAttr_t);
|
||||||
|
|
||||||
timer_id_ = osTimerNew(callback, osTimerOnce, arg, &timer_attr_);
|
timer_id_ = osTimerNew(callback, osTimerOnce, arg, &timer_attr_);
|
||||||
STA_ASSERT_MSG(timer_id != 0, "Failed to initialize timer");
|
STA_ASSERT_MSG(timer_id_ != 0, "Failed to initialize timer");
|
||||||
}
|
}
|
||||||
|
|
||||||
RtosTimer::~RtosTimer() {
|
RtosTimer::~RtosTimer() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user