Fixed includes

This commit is contained in:
CarlWachter 2023-09-17 21:02:07 +02:00
parent d031d66e71
commit 580524c6e6

View File

@ -1,5 +1,6 @@
#include <sta/rtos/timer.hpp>
#include <sta/debug/debug.hpp>
#include <sta/debug/assert.hpp>
namespace sta {
RtosTimer::RtosTimer(){}
@ -10,7 +11,7 @@ namespace sta {
timer_attr_.cb_size = sizeof(osTimerAttr_t);
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() {