Removed duplicated code of Timer

This commit is contained in:
Pavel Kirienko
2014-03-28 00:27:14 +04:00
parent 96aa295615
commit c7cc8c8758
2 changed files with 2 additions and 38 deletions
-19
View File
@@ -47,23 +47,4 @@ void TimerBase::startPeriodic(MonotonicDuration period)
DeadlineHandler::startWithDelay(period);
}
/*
* Timer
*/
#if UAVCAN_CPP_VERSION >= UAVCAN_CPP11
void Timer::handleTimerEvent(const TimerEvent& event)
{
if (callback)
{
callback(event);
}
else
{
assert(0);
}
}
#endif
}