1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

CF/BF - Fix incorrect use of pointer.

This commit is contained in:
Hydra 2017-06-18 17:13:54 +01:00 committed by Michael Keller
parent 0227b7fb28
commit d93218f21c

View file

@ -435,7 +435,7 @@ void initActiveBoxIds(void)
static int packFlightModeFlags(boxBitmask_t *mspFlightModeFlags) static int packFlightModeFlags(boxBitmask_t *mspFlightModeFlags)
{ {
// Serialize the flags in the order we delivered them, ignoring BOXNAMES and BOXINDEXES // Serialize the flags in the order we delivered them, ignoring BOXNAMES and BOXINDEXES
memset(&mspFlightModeFlags, 0, sizeof(boxBitmask_t)); memset(mspFlightModeFlags, 0, sizeof(boxBitmask_t));
// enabled BOXes, bits indexed by boxId_e // enabled BOXes, bits indexed by boxId_e
boxBitmask_t boxEnabledMask; boxBitmask_t boxEnabledMask;