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.
2 parents f9001e2 + 761d03f commit 970c655Copy full SHA for 970c655
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