Merge pull request #7050 from mikeller/fix_battery_parameter_group_declaration

Fixed parameter group declaration for 'batteryConfig'.
This commit is contained in:
Michael Keller 2018-11-09 00:17:08 +13:00 committed by GitHub
commit 7f7f58b193
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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,