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:
parent
bb64e5c0b9
commit
afae393582
3 changed files with 17 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue