update comments.

This commit is contained in:
Gatsby Van
2023-12-20 19:58:51 +08:00
parent fcb9876675
commit 3e150f4a85
+1 -1
View File
@@ -251,6 +251,7 @@ inline L2_RTT_FSM* L2_GetRttFsm(L2_INST* instPtr){
/** /**
* @brief Creat a new schedule envent, register event in schedule event pool. * @brief Creat a new schedule envent, register event in schedule event pool.
* *
* @param instPtr a pointer to linklayer instance
* @param event event type of the new schedule event. * @param event event type of the new schedule event.
* *
* @return NULL error occurred * @return NULL error occurred
@@ -713,7 +714,6 @@ int32_t L2_SetupNextSlot(L2_INST* instPtr, L2_TOR_TYPE txrxMode, L2_FRAME_TYPE f
if(Status != SUCCESS){ if(Status != SUCCESS){
DBG_ERROR("Physical set pull time failed, with error code: %d\n", Status); DBG_ERROR("Physical set pull time failed, with error code: %d\n", Status);
} }
instPtr->frame.next = frameType;
PHY_TOR_TYPE tor; PHY_TOR_TYPE tor;
switch(txrxMode) { switch(txrxMode) {