We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 646cc89 commit 761d03fCopy full SHA for 761d03f
platform/CallChain.cpp
@@ -45,7 +45,7 @@ pFunctionPointer_t CallChain::add(Callback<void()> func) {
45
pFunctionPointer_t CallChain::add_front(Callback<void()> func) {
46
CallChainLink *link = new CallChainLink(func);
47
link->next = _chain;
48
- _chain = link->next;
+ _chain = link;
49
return &link->cb;
50
}
51
0 commit comments