mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 01:05:21 +03:00
fixed debug values passing
This commit is contained in:
parent
c1cc552645
commit
71765ec37d
1 changed files with 2 additions and 2 deletions
|
@ -3542,8 +3542,8 @@ bool mspFCProcessInOutCommand(uint16_t cmdMSP, sbuf_t *dst, sbuf_t *src, mspResu
|
||||||
simulatorData.debugIndex = 0;
|
simulatorData.debugIndex = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
simulatorData.debugIndex |= (mixerConfig()->platformType == PLATFORM_AIRPLANE) ? 128 : 0;
|
tmp_u8 = simulatorData.debugIndex | ((mixerConfig()->platformType == PLATFORM_AIRPLANE) ? 128 : 0);
|
||||||
sbufWriteU8(dst, simulatorData.debugIndex);
|
sbufWriteU8(dst, tmp_u8 );
|
||||||
sbufWriteU32(dst, debug[simulatorData.debugIndex]);
|
sbufWriteU32(dst, debug[simulatorData.debugIndex]);
|
||||||
|
|
||||||
mspWriteSimulatorOSD(dst);
|
mspWriteSimulatorOSD(dst);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue