From 8779c9855e261c099bca7234612adeb20f5914c7 Mon Sep 17 00:00:00 2001 From: Gatsby Van Date: Thu, 28 Mar 2024 11:04:29 +0800 Subject: [PATCH] omit hopping pattern configure methods --- df_datalink_sp/src/networking/phy_layer/phy_layer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/df_datalink_sp/src/networking/phy_layer/phy_layer.c b/df_datalink_sp/src/networking/phy_layer/phy_layer.c index cf0ab25..a0d29b2 100644 --- a/df_datalink_sp/src/networking/phy_layer/phy_layer.c +++ b/df_datalink_sp/src/networking/phy_layer/phy_layer.c @@ -412,7 +412,6 @@ int32_t Phy_Init(PHY_INST **instPtr, PHY_CONFIG *phyConfig) (*instPtr)->isFrameSync = false; (*instPtr)->isDecode = false; (*instPtr)->isValid = false; - (*instPtr)->isPresetHop = true; (*instPtr)->recvFsTime.int_part = UINT32_MAX; (*instPtr)->recvFsTime.frac_part = UINT32_MAX; (*instPtr)->recvSlotTime.int_part = UINT32_MAX; @@ -743,7 +742,7 @@ int32_t Phy_SetupNextSlot(PHY_INST *instPtr, PHY_TOR_TYPE txrxMode, ASSERT(instPtr != NULL); int32_t Status; uint32_t phyModeCtrl, hopNum; - uint16_t *hopPattern; + const uint16_t *hopPattern; // Implement a ping-pong flow, offset always is 0 or half of buffer depth. instPtr->antConfigOffset = (L1_ANTCONFIG_MAX_LEN >> 1) - instPtr->antConfigOffset; uint32_t antConfigAddr = instPtr->antConfigAddr + instPtr->antConfigOffset;