prevent timer overflow on 32 bit systems

This commit is contained in:
2020-07-04 11:50:46 +02:00
parent e8e469729a
commit eb49f93e99
3 changed files with 9 additions and 9 deletions

View File

@ -44,7 +44,7 @@ public:
* the timer fires once after the specified time in
* nanoseconds.
**/
virtual void start(long nanosecs, std::function<void()> callbackIn, int type = PERIODIC);
virtual void start(long secs, long nanosecs, std::function<void()> callbackIn, int type = PERIODIC);
/**
* Stops the timer by disarming it. It can be re-started