mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-23 00:05:28 +03:00
Add ZeroFArray Macro and make use of it in some parts
This commit is contained in:
parent
c30025b9fc
commit
59d81d6f6f
8 changed files with 13 additions and 12 deletions
|
@ -350,7 +350,7 @@ void initActiveBoxIds(void)
|
|||
void packBoxModeFlags(boxBitmask_t * mspBoxModeFlags)
|
||||
{
|
||||
uint8_t activeBoxes[CHECKBOX_ITEM_COUNT];
|
||||
memset(activeBoxes, 0, sizeof(activeBoxes));
|
||||
ZERO_FARRAY(activeBoxes);
|
||||
|
||||
// Serialize the flags in the order we delivered them, ignoring BOXNAMES and BOXINDEXES
|
||||
// Requires new Multiwii protocol version to fix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue