From d87a4434c7daed51df5ba94f7b9d568036e29274 Mon Sep 17 00:00:00 2001 From: Gatsby Van Date: Tue, 20 Feb 2024 17:39:32 +0800 Subject: [PATCH] update ad temperate reading api --- df_datalink_sp/src/networking/phy_layer/phy_layer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 f930f80..5c4faaa 100644 --- a/df_datalink_sp/src/networking/phy_layer/phy_layer.h +++ b/df_datalink_sp/src/networking/phy_layer/phy_layer.h @@ -186,8 +186,8 @@ typedef struct #ifndef EMULATION uint8_t (*get_clk_state)(void); uint8_t (*get_ad_lock_state)(void); - uint8_t (*get_ad0_temp)(void); - uint8_t (*get_ad1_temp)(void); + int8_t (*get_ad0_temp)(void); + int8_t (*get_ad1_temp)(void); #endif } PHY_CONFIG;