From 03a54533eee313593a0a53194c4881bf53bcce43 Mon Sep 17 00:00:00 2001 From: Josh Gao Date: Thu, 29 May 2025 16:14:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E5=A4=A9=E7=BA=BF?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=E5=8C=85=E9=95=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/networking/phy_layer/phy_layer.c | 2 +- src/networking/phy_layer/phy_layer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/networking/phy_layer/phy_layer.c b/src/networking/phy_layer/phy_layer.c index f347624..a3eec52 100644 --- a/src/networking/phy_layer/phy_layer.c +++ b/src/networking/phy_layer/phy_layer.c @@ -52,7 +52,7 @@ #define L1_ANTCONFIG_MAX_LEN 8192 // byte #define L1_TXRXDATA_MAX_LEN 4096 // byte -#define ANT_COINFO_LEN 32 // bytes, antenna configuration length of each hop +#define ANT_COINFO_LEN 40 // bytes, antenna configuration length of each hop #define ATTN_DEFAULT 0 #define ATTN_ADV_24MS ATTN_DEFAULT diff --git a/src/networking/phy_layer/phy_layer.h b/src/networking/phy_layer/phy_layer.h index 561599a..03da62a 100644 --- a/src/networking/phy_layer/phy_layer.h +++ b/src/networking/phy_layer/phy_layer.h @@ -104,7 +104,7 @@ typedef struct ///< RF synthesizer ping-pong frequency, 3 antennas /// and 2 byte each: 0~600 MHz, step 1MHz, with base /// frequency of 3700 MHz - uint8_t rfRsvd; ///< reserved for further use + uint16_t rfRsvd; ///< reserved for further use } PHY_ANT_CONFIG; /**