misc update

This commit is contained in:
bit-cyber-fh
2024-05-22 16:22:18 +08:00
parent 45a13b9c5d
commit 68396cb7ac
2 changed files with 3 additions and 3 deletions
@@ -609,6 +609,8 @@ int32_t L2_Scan_PktHandler(L2_INST *instPtr, uint8_t *msg)
AssertL2Event(instPtr, &rtneUpEvent);
}
PendCfmAck(instPtr->scanFSM);
// Time sync.
L2_TimeAdjust(instPtr, &(instPtr->log.timeDev));
}
else
{
@@ -622,8 +624,6 @@ int32_t L2_Scan_PktHandler(L2_INST *instPtr, uint8_t *msg)
l2Event.msg = &newState;
AssertL2Event(instPtr, &l2Event);
}
// Time sync.
L2_TimeAdjust(instPtr, &(instPtr->log.timeDev));
}
// Get data payload
@@ -220,7 +220,7 @@ void Phy_AntConfigInit(PHY_ANT_CONFIG *antConfig)
// trSelect
antConfig->trSlect = 0;
// Antenna attenuation setting
antConfig->antAtt = 20;
antConfig->antAtt = 0;
// phase setting
antConfig->phase = 0;
// ***********************