From 2bc159c6a126a414553f36a97e3f25d9923166b5 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期五, 22 十一月 2024 00:06:56 +0800 Subject: [PATCH] V2.24 现场升级版本,修改升级模式为SF8,小组0不启动UWB,1秒测距一次 --- 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