mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +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;
|
} 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…
Add table
Add a link
Reference in a new issue