diff --git a/infra/timer/TickOnInterruptTimerService.cpp b/infra/timer/TickOnInterruptTimerService.cpp index 322d23bfd..085a94ed6 100644 --- a/infra/timer/TickOnInterruptTimerService.cpp +++ b/infra/timer/TickOnInterruptTimerService.cpp @@ -1,5 +1,6 @@ #include "infra/timer/TickOnInterruptTimerService.hpp" #include "infra/event/EventDispatcher.hpp" +#include "infra/util/ReallyAssert.hpp" #include namespace infra @@ -8,6 +9,8 @@ namespace infra : TimerService(id) , resolution(resolution) { + really_assert(infra::EventDispatcher::InstanceSet()); + CalculateNextTrigger(); }