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;
|
||||
|
||||
PG_DECLARE(batteryConfig_t, batteryConfig);
|
||||
|
||||
typedef struct lowVoltageCutoff_s {
|
||||
bool enabled;
|
||||
uint8_t percentage;
|
||||
timeUs_t startTime;
|
||||
} lowVoltageCutoff_t;
|
||||
|
||||
PG_DECLARE(batteryConfig_t, batteryConfig);
|
||||
|
||||
typedef enum {
|
||||
BATTERY_OK = 0,
|
||||
BATTERY_WARNING,
|
||||
|
|
Loading…
Reference in New Issue