SWR fixes

This commit is contained in:
Bertrand Songis
2019-04-16 19:18:04 +02:00
parent 96fa03a10d
commit 3830007fd2
5 changed files with 42 additions and 63 deletions
+4
View File
@@ -83,6 +83,10 @@ class TelemetryExpiringDecorator: public T {
{
memclear(this, sizeof(*this));
}
bool isFresh()
{
return get_tmr10ms() < expirationTime;
}
};
template <class T>