diff --git a/src/shared/drivers/timer/TimestampTimer.h b/src/shared/drivers/timer/TimestampTimer.h index 3f54fb1ad6959892353230fce24cc75a5e813f5c..8b2bc6f2f445bc0a21f3fd32bd754be102759e25 100644 --- a/src/shared/drivers/timer/TimestampTimer.h +++ b/src/shared/drivers/timer/TimestampTimer.h @@ -101,7 +101,7 @@ private: inline uint64_t TimestampTimer::getTimestamp() { #ifdef COMPILE_FOR_HOST - return 0; + return time(NULL); #else // With a timer frequency of 250KHz, the conversion from timer ticks to // microseconds only take a 2 byte shift (x4)