forked from gatsby/datalink_repo
rewrite rtt fsm.
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user