Ensure the new method is called by the deprecated one

pull/11236/head
Hugues Kamba 2019-08-16 07:26:14 +01:00
parent 59a6b55c64
commit b0d4b69123
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ public:
"attach(callback(obj, method), t).") "attach(callback(obj, method), t).")
void attach(T *obj, M method, float t) void attach(T *obj, M method, float t)
{ {
attach(callback(obj, method), (s_timestamp_t)t); attach_s(callback(obj, method), (s_timestamp_t)t);
} }
/** Attach a function to be called by the Ticker, specifying the interval in microseconds /** Attach a function to be called by the Ticker, specifying the interval in microseconds