From 101aa84e6f5092dfffab5f0e6aee9a52fcb36265 Mon Sep 17 00:00:00 2001 From: Josh Gao Date: Thu, 29 May 2025 10:03:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=B8=A7=E6=9C=80=E5=A4=A7=E9=95=BF=E5=BA=A6,=20=E5=8D=95?= =?UTF-8?q?=E4=BD=8D=E5=BA=94=E4=B8=BAbyte?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/networking/phy_layer/phy_layer.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/networking/phy_layer/phy_layer.c b/src/networking/phy_layer/phy_layer.c index 77c4f4e..f347624 100644 --- a/src/networking/phy_layer/phy_layer.c +++ b/src/networking/phy_layer/phy_layer.c @@ -42,14 +42,15 @@ #define L1_FRAME_512KBPS_4MS_LEN (2584 / 8) // byte #define L1_FRAME_2MBPS_4MS_LEN (10224 / 8) // byte -#define L1_FRAME_ADV_24MS_COMP 1399800 // *10ns(Timer_L) +//#define L1_FRAME_ADV_24MS_COMP 1399800 // *10ns(Timer_L) +#define L1_FRAME_ADV_24MS_COMP 1463848 // *10ns(Timer_L) #define L1_FRAME_ACK_8MS_COMP 598408 // *10ns(Timer_L) #define L1_FRAME_128KBPS_4MS_COMP 9950 // *10ns(Timer_L) #define L1_FRAME_512KBPS_4MS_COMP 9950 // *10ns(Timer_L) #define L1_FRAME_2MBPS_4MS_COMP 9950 // *10ns(Timer_L) -#define L1_ANTCONFIG_MAX_LEN 8192 -#define L1_TXRXDATA_MAX_LEN 16384 +#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