1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-23 16:25:26 +03:00

adjusted baro simulation

This commit is contained in:
Roman Lut 2022-06-26 21:27:25 +03:00
parent 37b9bd41ab
commit 758407ec98
2 changed files with 2 additions and 0 deletions

View file

@ -3472,6 +3472,7 @@ bool mspFCProcessInOutCommand(uint16_t cmdMSP, sbuf_t *dst, sbuf_t *src, mspResu
gyro.gyroADCf[Z] = ((int16_t)sbufReadU16(src)) / 16.0f;
baro.baroPressure = sbufReadU32(src);
baro.baroTemperature = 2500;
}
else {
DISABLE_STATE(GPS_FIX);