1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-24 16:55:29 +03:00

implemented pitot emulation

# Conflicts:
#	src/main/fc/runtime_config.h
This commit is contained in:
Roman Lut 2022-08-02 03:15:04 +03:00
parent bb64e5c0b9
commit afae393582
3 changed files with 17 additions and 1 deletions

View file

@ -3526,6 +3526,10 @@ bool mspFCProcessInOutCommand(uint16_t cmdMSP, sbuf_t *dst, sbuf_t *src, mspResu
else {
simulatorData.vbat = 126;
}
if (simulatorData.flags & SIMU_AIRSPEED) {
simulatorData.airSpeed = sbufReadU16(src);
}
}
else {
DISABLE_STATE(GPS_FIX);