fix: 修改数据帧最大长度, 单位应为byte

This commit is contained in:
2025-05-29 10:03:58 +08:00
parent cf58160c35
commit 101aa84e6f
+4 -3
View File
@@ -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