From 9f4a3a01507458b24464eaf8f11f21b7fe4d00db Mon Sep 17 00:00:00 2001
From: WXK <287788329@qq.com>
Date: 星期四, 27 七月 2023 12:00:47 +0800
Subject: [PATCH] 版本v2.3,上一版忘记低功耗放开。2.3版本以此版为主。

---
 Src/ExternalDevices/BMP390.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Src/ExternalDevices/BMP390.c b/Src/ExternalDevices/BMP390.c
index 9c45302..1b5da54 100644
--- a/Src/ExternalDevices/BMP390.c
+++ b/Src/ExternalDevices/BMP390.c
@@ -191,7 +191,7 @@
 	BMP390_Write_Byte(INT_CTRL_Addr,0x02);//Set interrupt config
 	BMP390_Write_Byte(OSR_Addr,0x15);//Set the PM-RATE and PM-PRC,Set the TMPI-RATE and TMP-PRC
 	BMP390_Write_Byte(ODR_Addr,0x05);//Set the configuration of the output data rates by means of setting the subdivision/subsampling.
-	BMP390_Write_Byte(CONFIG_Addr,0x00);//IIR filter coeffcients
+	BMP390_Write_Byte(CONFIG_Addr,0);//IIR filter coeffcients
 	return BMP390_ID;
 }
  
@@ -340,7 +340,7 @@
 }
 float Altitude;
 double Correcting_Temp,Correcting_Press;
-extern int Pressure_Para[11],Temperature_Para[3];
+int Pressure_Para[11],Temperature_Para[3];
 void  GetPressAndHeight()
 {
 float Pressure,Pressure_Temp,Pres_temp;

--
Gitblit v1.9.3