mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-23 16:25:26 +03:00
adjusted parameters passing
This commit is contained in:
parent
dd7df4c1bd
commit
ea95ba94e6
1 changed files with 4 additions and 4 deletions
|
@ -3474,10 +3474,10 @@ bool mspFCProcessInOutCommand(uint16_t cmdMSP, sbuf_t *dst, sbuf_t *src, mspResu
|
|||
DISABLE_STATE(GPS_FIX);
|
||||
}
|
||||
|
||||
sbufWriteU16(dst, input[INPUT_STABILIZED_ROLL] + 500);
|
||||
sbufWriteU16(dst, input[INPUT_STABILIZED_PITCH] + 500);
|
||||
sbufWriteU16(dst, input[INPUT_STABILIZED_YAW] + 500);
|
||||
sbufWriteU16(dst, input[INPUT_STABILIZED_THROTTLE] + 500);
|
||||
sbufWriteU16(dst, (uint16_t)input[INPUT_STABILIZED_ROLL]);
|
||||
sbufWriteU16(dst, (uint16_t)input[INPUT_STABILIZED_PITCH]);
|
||||
sbufWriteU16(dst, (uint16_t)input[INPUT_STABILIZED_YAW]);
|
||||
sbufWriteU16(dst, (uint16_t)input[INPUT_STABILIZED_THROTTLE]);
|
||||
|
||||
simulatorData.debugIndex++;
|
||||
if (simulatorData.debugIndex == 8){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue