We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents de715ae + 3d9be83 commit 092da0dCopy full SHA for 092da0d
libraries/mbed/api/Ticker.h
@@ -104,7 +104,7 @@ class Ticker : public TimerEvent {
104
*/
105
template<typename T>
106
pFunctionPointer_t attach(T* tptr, void (T::*mptr)(void), float t) {
107
- return attach_us(tptr, mptr, t * 1000000.0f);
+ return attach_us(tptr, mptr, t * 1000000.0f);
108
}
109
110
/** Add a function to be called by the Ticker at the end of the call chain
@@ -158,7 +158,7 @@ class Ticker : public TimerEvent {
158
159
160
pFunctionPointer_t attach_us(T* tptr, void (T::*mptr)(void), unsigned int t) {
161
- pFunctionPointer_t pf = _chain.add(mptr, tptr);
+ pFunctionPointer_t pf = _chain.add(tptr, mptr);
162
setup(t);
163
return pf;
164
0 commit comments