Skip to content

Commit

Permalink
Merge pull request #9431 from iNavFlight/fix-the-MSP2_INAV_STATUS-frame
Browse files Browse the repository at this point in the history
Put getConfigMixerProfile as the last byte in message
  • Loading branch information
DzikuVx authored Oct 31, 2023
2 parents 3406d0d + c2577e4 commit fdb61d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/fc/fc_msp.c
Original file line number Diff line number Diff line change
Expand Up @@ -462,9 +462,9 @@ static bool mspFcProcessOutCommand(uint16_t cmdMSP, sbuf_t *dst, mspPostProcessF
sbufWriteU16(dst, packSensorStatus());
sbufWriteU16(dst, averageSystemLoadPercent);
sbufWriteU8(dst, (getConfigBatteryProfile() << 4) | getConfigProfile());
sbufWriteU8(dst, getConfigMixerProfile());
sbufWriteU32(dst, armingFlags);
sbufWriteData(dst, &mspBoxModeFlags, sizeof(mspBoxModeFlags));
sbufWriteU8(dst, getConfigMixerProfile());
}
break;

Expand Down

0 comments on commit fdb61d3

Please sign in to comment.