mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Merge pull request #7050 from mikeller/fix_battery_parameter_group_declaration
Fixed parameter group declaration for 'batteryConfig'.
This commit is contained in:
commit
7f7f58b193
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue