Skip to content

Commit

Permalink
Merge pull request #3366 from shellixyz/fix_mistake_in_battery_profiles
Browse files Browse the repository at this point in the history
Fix small mistake in battery profiles PR
  • Loading branch information
fiam authored Jun 14, 2018
2 parents 160d23d + adc2802 commit 3763449
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 @@ -419,7 +419,7 @@ static bool mspFcProcessOutCommand(uint16_t cmdMSP, sbuf_t *dst, mspPostProcessF
#endif
sbufWriteU16(dst, packSensorStatus());
sbufWriteU16(dst, averageSystemLoadPercent);
sbufWriteU8(dst, (getConfigBatteryProfile() << 4) || getConfigProfile());
sbufWriteU8(dst, (getConfigBatteryProfile() << 4) | getConfigProfile());
sbufWriteU32(dst, armingFlags);
sbufWriteData(dst, &mspBoxModeFlags, sizeof(mspBoxModeFlags));
}
Expand Down

0 comments on commit 3763449

Please sign in to comment.