From 3a9451238daf56e5dc2f6a8a1532c650aa9120b8 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期六, 22 七月 2023 11:53:50 +0800 Subject: [PATCH] 初步调通,气压能正常读取,可以定位 --- Src/ExternalDevices/BMP390.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Src/ExternalDevices/BMP390.c b/Src/ExternalDevices/BMP390.c index 9c45302..d5f80cc 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; } -- Gitblit v1.9.3