1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 06:45:16 +03:00

Battery auto-detect and LPF for battery monitoring

This commit is contained in:
DarkVegetableMatter 2015-05-26 10:59:02 +01:00 committed by Dominic Clifton
parent 26ac6115e7
commit 942c89237e
10 changed files with 268 additions and 69 deletions

View file

@ -163,7 +163,7 @@ int32_t GPS_coord[2];
uint16_t GPS_speed; // speed in 0.1m/s
uint16_t GPS_distanceToHome; // distance to home point in meters
uint16_t GPS_altitude; // altitude in 0.1m
uint8_t vbat;
uint16_t vbat;
int16_t GPS_directionToHome; // direction to home or hol point in degrees
int32_t amperage;
@ -232,5 +232,9 @@ portSharing_e determinePortSharing(serialPortConfig_t *, serialPortFunction_e) {
return PORTSHARING_NOT_SHARED;
}
batteryState_e getBatteryState(void) {
return BATTERY_OK;
}
}