Skip to content
Snippets Groups Projects
Commit d2b71787 authored by Cristian Maglie's avatar Cristian Maglie
Browse files

interrupts: remove unneeded cleanup

parent 9a49ce2f
No related branches found
No related tags found
No related merge requests found
......@@ -174,9 +174,6 @@ void detachInterrupt(uint32_t pin)
ISRlist[i] = ISRlist[i+1];
ISRcallback[i] = ISRcallback[i+1];
}
// And remove the top item
ISRlist[nints]=0;
ISRcallback[nints]=NULL;
nints--;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment