1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-24 00:35:34 +03:00
This commit is contained in:
Sergey 2022-06-18 18:18:55 +03:00
parent 99b20b66b0
commit 829e001153
No known key found for this signature in database
GPG key ID: 4A7AC190CD92FE01
2 changed files with 11 additions and 7 deletions

View file

@ -3243,7 +3243,7 @@ bool mspFCProcessInOutCommand(uint16_t cmdMSP, sbuf_t *dst, sbuf_t *src, mspResu
case MSP_TELEMETRY:
sbufWriteU8(dst, ARMING_FLAG(ARMED)); // arming status
sbufWriteU8(dst, 0); // arming status
sbufWriteU8(dst, 0); // modes
sbufWriteU32(dst, flightModeFlags);
sbufWriteU8(dst, 1); // messages
@ -3284,6 +3284,7 @@ bool mspFCProcessInOutCommand(uint16_t cmdMSP, sbuf_t *dst, sbuf_t *src, mspResu
}
} else {
DISABLE_ARMING_FLAG(SIMULATOR_MODE);
baroStartCalibration(); // just once
}
if (dataSize >= 14) {
gpsSol.fixType = sbufReadU8(src);