mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-06 07:53:43 +08:00
[meteo_stick] fix typo
This commit is contained in:
@@ -97,7 +97,7 @@ static inline float get_pressure(uint32_t raw)
|
||||
#if USE_MS_EEPROM
|
||||
return mtostk_get_calibrated_value(&meteo_stick.calib, MTOSTK_ABS_PRESS, uncal_abs, meteo_stick.current_temperature);
|
||||
#else
|
||||
return (MS_PRESSURE_OFFSET * uncal_abs) + MS_PRESSURE_OFFSET;
|
||||
return (MS_PRESSURE_SCALE * uncal_abs) + MS_PRESSURE_OFFSET;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user