mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #28 from 0xc0170/ticker_chaining_bug
Chaining in Ticker - switched arguments [fix]pull/31/merge
commit
092da0d425
|
|
@ -158,7 +158,7 @@ public:
|
||||||
*/
|
*/
|
||||||
template<typename T>
|
template<typename T>
|
||||||
pFunctionPointer_t attach_us(T* tptr, void (T::*mptr)(void), unsigned int t) {
|
pFunctionPointer_t attach_us(T* tptr, void (T::*mptr)(void), unsigned int t) {
|
||||||
pFunctionPointer_t pf = _chain.add(mptr, tptr);
|
pFunctionPointer_t pf = _chain.add(tptr, mptr);
|
||||||
setup(t);
|
setup(t);
|
||||||
return pf;
|
return pf;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue