源码/核心板/Src/ExternalDevices/dps368_test.c
@@ -101,6 +101,8 @@ ret = dps310_get_processed_data(&drv_state,&pressure,&temperature); Height = 44330 * (1.0 - pow((pressure / 1013.25), (1 / 5.255))); if(pressure==0) Height = 0; return Height; //height=PressToHeight(pressure,temperature);