mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
CF/BF - fix naming of currentMeterVirtualState_t
This commit is contained in:
parent
abb6eb5b54
commit
4554019c52
4 changed files with 15 additions and 15 deletions
|
@ -75,14 +75,14 @@ PG_DECLARE(currentSensorADCConfig_t, currentSensorADCConfig);
|
|||
typedef struct currentMeterVirtualState_s {
|
||||
currentMeterMAhDrawnState_t mahDrawnState;
|
||||
int32_t amperage; // current read by current sensor in centiampere (1/100th A)
|
||||
} currentMeterVirtualState_t;
|
||||
} currentSensorVirtualState_t;
|
||||
|
||||
typedef struct currentMeterVirtualConfig_s {
|
||||
typedef struct currentSensorVirtualConfig_s {
|
||||
int16_t scale; // scale the current sensor output voltage to milliamps. Value in 1/10th mV/A
|
||||
uint16_t offset; // offset of the current sensor in millivolt steps
|
||||
} currentMeterVirtualConfig_t;
|
||||
} currentSensorVirtualConfig_t;
|
||||
|
||||
PG_DECLARE(currentMeterVirtualConfig_t, currentMeterVirtualConfig);
|
||||
PG_DECLARE(currentSensorVirtualConfig_t, currentSensorVirtualConfig);
|
||||
|
||||
//
|
||||
// ESC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue