From d93218f21c9be923c9d6ccc5e583aa4ee9c4b317 Mon Sep 17 00:00:00 2001 From: Hydra Date: Sun, 18 Jun 2017 17:13:54 +0100 Subject: [PATCH] CF/BF - Fix incorrect use of pointer. --- src/main/fc/fc_msp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/fc/fc_msp.c b/src/main/fc/fc_msp.c index 749492918e..28f6ea4258 100644 --- a/src/main/fc/fc_msp.c +++ b/src/main/fc/fc_msp.c @@ -435,7 +435,7 @@ void initActiveBoxIds(void) static int packFlightModeFlags(boxBitmask_t *mspFlightModeFlags) { // 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 boxBitmask_t boxEnabledMask;