add new log entry (phy: antenna power mode)

This commit is contained in:
Gatsby Van
2024-03-07 11:40:53 +08:00
parent 51b96825a3
commit ec772ba9e3
2 changed files with 3 additions and 1 deletions
@@ -265,6 +265,7 @@ void Phy_AntConfigMode(PHY_INST *instPtr, PHY_ANT_MODE mode)
DBG_ERROR("Unknown antenna mode: %" PRIu8 ", remain previous mode.\n", mode);
return;
}
instPtr->phyLog.antMode = mode;
instPtr->antConfig.antMode = config;
}
+2 -1
View File
@@ -152,7 +152,8 @@ typedef struct __attribute__((packed))
double fsyncPAPR;
uint8_t fsyncFreqCh;
uint16_t deintlvAmpEst;
uint8_t reserve[4];
uint8_t antMode;
uint8_t reserve[3];
} PHYLOG;
typedef struct __attribute__((packed))