mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Fixed ADC current meter for negative offset.
This commit is contained in:
parent
13da4de774
commit
b71a5a808f
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ typedef struct currentMeterADCState_s {
|
|||
|
||||
typedef struct currentSensorADCConfig_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
|
||||
int16_t offset; // offset of the current sensor in millivolt steps
|
||||
} currentSensorADCConfig_t;
|
||||
|
||||
PG_DECLARE(currentSensorADCConfig_t, currentSensorADCConfig);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue