1
0
Fork 0

make sure the age is big enough on all platforms

This commit is contained in:
Kevin Matz 2022-11-28 11:16:19 -05:00
parent 686b11f1f0
commit 3e77990490
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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,