make sure the age is big enough on all platforms
This commit is contained in:
parent
686b11f1f0
commit
3e77990490
|
@ -85,7 +85,7 @@ double Universe::rxRate()
|
|||
* @brief milliseconds since the last update
|
||||
* @return
|
||||
*/
|
||||
int Universe::rxAge()
|
||||
long Universe::rxAge()
|
||||
{
|
||||
if (!last_seen_.time_since_epoch().count())
|
||||
return -1; // universe has never been seen
|
||||
|
|
|
@ -53,7 +53,7 @@ class Universe {
|
|||
|
||||
virtual uint8_t slot (const uint16_t);
|
||||
virtual double rxRate();
|
||||
virtual int rxAge();
|
||||
virtual long rxAge();
|
||||
|
||||
virtual void setValue (const uint16_t address, const uint8_t value);
|
||||
virtual void setValue (const uint16_t start, const uint16_t footprint,
|
||||
|
|
Loading…
Reference in New Issue