气压传感器错误温度条件改为90度
This commit is contained in:
parent
b021471f5b
commit
3d800becda
|
@ -178,9 +178,9 @@ static HAL_StatusTypeDef MS56XX_GetPressureTemp(float *Temp, float *Press) //
|
|||
MS56XX_Temperature=-6000;
|
||||
return HAL_ERROR;
|
||||
}
|
||||
if(MS56XX_Temperature>8500)
|
||||
if(MS56XX_Temperature>9000)
|
||||
{
|
||||
MS56XX_Temperature=8500;
|
||||
MS56XX_Temperature=9000;
|
||||
return HAL_ERROR;
|
||||
}
|
||||
if(Tmp_Pressure<1000)
|
||||
|
|
Loading…
Reference in New Issue