fix typo.
This commit is contained in:
@@ -137,7 +137,7 @@ L2_SCHD_EVENT* L2_CreatNewSchdEvent(L2_SCHD_POOL* schdPool, L2_EVENT_TYPE event,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
schdEvent->eventId = schdPool->envCnt++;
|
schdEvent->eventId = schdPool->envCnt++;
|
||||||
schdEvent->ocurrCnt = 0;
|
schdEvent->occurCnt = 0;
|
||||||
schdEvent->l2Event.event = event;
|
schdEvent->l2Event.event = event;
|
||||||
schdEvent->l2Event.msg = NULL;
|
schdEvent->l2Event.msg = NULL;
|
||||||
schdEvent->isSchd = false;
|
schdEvent->isSchd = false;
|
||||||
@@ -327,7 +327,7 @@ void L2_EventPoolHandler(L2_INST* instPtr){
|
|||||||
list_remove(pool->schdList, node);
|
list_remove(pool->schdList, node);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
event->ocurrCnt++;
|
event->occurCnt++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ typedef struct {
|
|||||||
bool isVolatile;
|
bool isVolatile;
|
||||||
L2_EVENT l2Event;
|
L2_EVENT l2Event;
|
||||||
uint32_t eventId;
|
uint32_t eventId;
|
||||||
uint32_t ocurrCnt;
|
uint32_t occurCnt;
|
||||||
uint32_t schdFrame;
|
uint32_t schdFrame;
|
||||||
uint32_t schdSlot;
|
uint32_t schdSlot;
|
||||||
} L2_SCHD_EVENT;
|
} L2_SCHD_EVENT;
|
||||||
|
|||||||
Reference in New Issue
Block a user