Merge pull request #7050 from mikeller/fix_battery_parameter_group_declaration
Fixed parameter group declaration for 'batteryConfig'.
This commit is contained in:
commit
7f7f58b193
|
@ -52,14 +52,14 @@ typedef struct batteryConfig_s {
|
||||||
|
|
||||||
} batteryConfig_t;
|
} batteryConfig_t;
|
||||||
|
|
||||||
|
PG_DECLARE(batteryConfig_t, batteryConfig);
|
||||||
|
|
||||||
typedef struct lowVoltageCutoff_s {
|
typedef struct lowVoltageCutoff_s {
|
||||||
bool enabled;
|
bool enabled;
|
||||||
uint8_t percentage;
|
uint8_t percentage;
|
||||||
timeUs_t startTime;
|
timeUs_t startTime;
|
||||||
} lowVoltageCutoff_t;
|
} lowVoltageCutoff_t;
|
||||||
|
|
||||||
PG_DECLARE(batteryConfig_t, batteryConfig);
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
BATTERY_OK = 0,
|
BATTERY_OK = 0,
|
||||||
BATTERY_WARNING,
|
BATTERY_WARNING,
|
||||||
|
|
Loading…
Reference in New Issue