STM32 driver: Space optimized SystemClock constructor

This commit is contained in:
Pavel Kirienko
2014-04-10 21:23:57 +04:00
parent 1c741016bf
commit 01328da9eb
2 changed files with 11 additions and 5 deletions
@@ -59,8 +59,6 @@ class SystemClock : public uavcan::ISystemClock, uavcan::Noncopyable
{
SystemClock() { }
static SystemClock self;
virtual uavcan::MonotonicTime getMonotonic() const { return clock::getMonotonic(); }
virtual uavcan::UtcTime getUtc() const { return clock::getUtc(); }
virtual void adjustUtc(uavcan::UtcDuration adjustment) { clock::adjustUtc(adjustment); }