rewrite rtt fsm.

This commit is contained in:
Gatsby Van
2023-12-20 20:02:00 +08:00
parent 1b69f68298
commit 35ef220494
@@ -1282,9 +1282,6 @@ static int32_t Linklayer_Routine (L2_INST* instPtr) {
rtneEntry = instPtr->rtneConfig.rtneTable[tableIndx][entryIndx]; rtneEntry = instPtr->rtneConfig.rtneTable[tableIndx][entryIndx];
DBG_INFO("## Routine: %u-%u, Routine period: %u.\n", tableIndx, entryIndx, instPtr->rtneConfig.rtnePrd); DBG_INFO("## Routine: %u-%u, Routine period: %u.\n", tableIndx, entryIndx, instPtr->rtneConfig.rtnePrd);
// Implement a RTT procedure.
RTT_Proc(instPtr);
switch (rtneEntry.slotType) { switch (rtneEntry.slotType) {
case SLOT_IDLE: case SLOT_IDLE:
// Skip a 5ms slot. // Skip a 5ms slot.