1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00

Added offset parameter to ESC sensor current calculation to compensate for non-ESC consumption.

This commit is contained in:
mikeller 2018-05-30 00:38:33 +12:00
parent b2f7aa3c36
commit 670cd49bd6
3 changed files with 6 additions and 3 deletions

View file

@ -24,6 +24,8 @@
typedef struct escSensorConfig_s {
uint8_t halfDuplex; // Set to false to listen on the TX pin for telemetry data
uint16_t offset; // offset consumed by the flight controller / VTX / cam / ... in milliampere
} escSensorConfig_t;
PG_DECLARE(escSensorConfig_t, escSensorConfig);