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); DBG_ERROR("Unknown antenna mode: %" PRIu8 ", remain previous mode.\n", mode);
return; return;
} }
instPtr->phyLog.antMode = mode;
instPtr->antConfig.antMode = config; instPtr->antConfig.antMode = config;
} }
+2 -1
View File
@@ -152,7 +152,8 @@ typedef struct __attribute__((packed))
double fsyncPAPR; double fsyncPAPR;
uint8_t fsyncFreqCh; uint8_t fsyncFreqCh;
uint16_t deintlvAmpEst; uint16_t deintlvAmpEst;
uint8_t reserve[4]; uint8_t antMode;
uint8_t reserve[3];
} PHYLOG; } PHYLOG;
typedef struct __attribute__((packed)) typedef struct __attribute__((packed))