From 89ef050cc2ab5dab3e8a3071b738c0d865206964 Mon Sep 17 00:00:00 2001 From: Gatsby Van Date: Thu, 25 Jan 2024 16:02:15 +0800 Subject: [PATCH] rearrange --- df_datalink_sp/src/networking/phy_layer/phy_layer.c | 2 -- df_datalink_sp/src/networking/phy_layer/phy_layer.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/df_datalink_sp/src/networking/phy_layer/phy_layer.c b/df_datalink_sp/src/networking/phy_layer/phy_layer.c index 2598044..6c9c981 100644 --- a/df_datalink_sp/src/networking/phy_layer/phy_layer.c +++ b/df_datalink_sp/src/networking/phy_layer/phy_layer.c @@ -35,7 +35,6 @@ /************************** Constant Definitions *****************************/ -#define L1_FRAME_NONE_LEN UINT32_MAX // byte #define L1_FRAME_LEN_MAX (8192 / 8) // byte #define L1_FRAME_2KBPS_20MS_LEN 0 // byte #define L1_FRAME_2KBPS_100MS_LEN (312 / 8) // byte @@ -46,7 +45,6 @@ #define L1_FRAME_200KBPS_5MS_LEN (2040 / 8) // byte #define L1_FRAME_1M2BPS_5MS_LEN (8176 / 8) // byte -#define L1_FRAME_NONE_COMP UINT32_MAX // *10ns(Timer_L) #define L1_FRAME_2KBPS_20MS_COMP 1841158 // *10ns(Timer_L) #define L1_FRAME_2KBPS_100MS_COMP 1841158 // *10ns(Timer_L) #define L1_FRAME_10KBPS_10MS_COMP 850950 // *10ns(Timer_L) diff --git a/df_datalink_sp/src/networking/phy_layer/phy_layer.h b/df_datalink_sp/src/networking/phy_layer/phy_layer.h index 5b8dcf2..a0305b6 100644 --- a/df_datalink_sp/src/networking/phy_layer/phy_layer.h +++ b/df_datalink_sp/src/networking/phy_layer/phy_layer.h @@ -41,6 +41,8 @@ #define L1_INIT_ANT_WD PHY_ANT_BEAM_120 #define L1_INIT_ANT_NO 0 +#define L1_FRAME_NONE_LEN UINT32_MAX // byte +#define L1_FRAME_NONE_COMP UINT32_MAX // *10ns(Timer_L) #define L1_FRAME_NONE_HOPS UINT32_MAX #define L1_FRAME_MAX_HOPS 81 #define L1_FRAME_2KBPS_20MS_HOPS 1