From cea7f6ca7f65b036892965a6e0ffd22d5afcd190 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期五, 01 三月 2024 09:34:54 +0800 Subject: [PATCH] 功能测试代码开发完成 --- Src/ExternalDevices/dps310.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Src/ExternalDevices/dps310.h b/Src/ExternalDevices/dps310.h index 393b711..ae29888 100644 --- a/Src/ExternalDevices/dps310.h +++ b/Src/ExternalDevices/dps310.h @@ -8,7 +8,7 @@ #ifndef DPS310_H_INCLUDED #define DPS310_H_INCLUDED - +#include <stdbool.h> /* Attributes: Product identification and version */ #define VENDOR_NAME "Infineon" @@ -136,7 +136,7 @@ typedef double f64; -typedef u8 bool; +//typedef u8 bool; #define false 0 #define true 1 @@ -336,6 +336,6 @@ ( struct dps310_state *drv_state ); - +int BarInit(void); float GetPressAndHeight(void); #endif // DPS310_H_INCLUDED -- Gitblit v1.9.3