update naming TOR -> tor

This commit is contained in:
Gatsby Van
2024-01-23 15:25:43 +08:00
parent e55c135229
commit 6167475307
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -223,7 +223,7 @@ void MPC_IntrHandler(void *callBackRef)
void PhysicalIntr_Handler(void *callBackRef)
{
Phy_UpdateState(phyInstPtr);
if (phyInstPtr->TOR.curr == PHY_TOR_TX)
if (phyInstPtr->tor.curr == PHY_TOR_TX)
{
switch (phyInstPtr->frameType.curr)
{
@@ -255,7 +255,7 @@ void PhysicalIntr_Handler(void *callBackRef)
break;
}
}
if (phyInstPtr->TOR.last == PHY_TOR_RX && phyInstPtr->isFrameSync)
if (phyInstPtr->tor.last == PHY_TOR_RX && phyInstPtr->isFrameSync)
{
switch (phyInstPtr->frameType.last)
{