mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-14 20:10:15 +03:00
Bump the number of logic conditions to 32
This commit is contained in:
parent
d487b64dfe
commit
03a014d0e1
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@
|
||||||
#include "io/vtx.h"
|
#include "io/vtx.h"
|
||||||
#include "drivers/vtx_common.h"
|
#include "drivers/vtx_common.h"
|
||||||
|
|
||||||
PG_REGISTER_ARRAY_WITH_RESET_FN(logicCondition_t, MAX_LOGIC_CONDITIONS, logicConditions, PG_LOGIC_CONDITIONS, 1);
|
PG_REGISTER_ARRAY_WITH_RESET_FN(logicCondition_t, MAX_LOGIC_CONDITIONS, logicConditions, PG_LOGIC_CONDITIONS, 2);
|
||||||
|
|
||||||
EXTENDED_FASTRAM uint64_t logicConditionsGlobalFlags;
|
EXTENDED_FASTRAM uint64_t logicConditionsGlobalFlags;
|
||||||
EXTENDED_FASTRAM int logicConditionValuesByType[LOGIC_CONDITION_LAST];
|
EXTENDED_FASTRAM int logicConditionValuesByType[LOGIC_CONDITION_LAST];
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
#include "config/parameter_group.h"
|
#include "config/parameter_group.h"
|
||||||
#include "common/time.h"
|
#include "common/time.h"
|
||||||
|
|
||||||
#define MAX_LOGIC_CONDITIONS 16
|
#define MAX_LOGIC_CONDITIONS 32
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
LOGIC_CONDITION_TRUE = 0,
|
LOGIC_CONDITION_TRUE = 0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue