/*****************************************************************************/
-/* Data */
+/* Data */
/*****************************************************************************/
Callback* N;
Callback** L = &List;
while ((N = *L) != 0) {
- if (N == C) {
- /* Found, remove it */
- if (C->Next) {
- /* Adjust the counter of the following callback */
- C->Next->Ticks += C->Ticks;
- }
- *L = C->Next;
- return;
- } else {
- L = &N->Next;
- }
+ if (N == C) {
+ /* Found, remove it */
+ if (C->Next) {
+ /* Adjust the counter of the following callback */
+ C->Next->Ticks += C->Ticks;
+ }
+ *L = C->Next;
+ return;
+ } else {
+ L = &N->Next;
+ }
}
/* Callback was not found */
/*****************************************************************************/
-/* Code */
+/* Code */
/*****************************************************************************/