气压传感器错误温度条件改为90度

This commit is contained in:
95384 2025-04-09 08:49:49 +08:00
parent b021471f5b
commit 3d800becda
1 changed files with 2 additions and 2 deletions

View File

@ -178,9 +178,9 @@ static HAL_StatusTypeDef MS56XX_GetPressureTemp(float *Temp, float *Press) //
MS56XX_Temperature=-6000; MS56XX_Temperature=-6000;
return HAL_ERROR; return HAL_ERROR;
} }
if(MS56XX_Temperature>8500) if(MS56XX_Temperature>9000)
{ {
MS56XX_Temperature=8500; MS56XX_Temperature=9000;
return HAL_ERROR; return HAL_ERROR;
} }
if(Tmp_Pressure<1000) if(Tmp_Pressure<1000)