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:
parent
0227b7fb28
commit
d93218f21c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue