1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 13:25:30 +03:00

Fixes to ranges of esc warning thresholds. (#5726)

Signed-off-by: Mark Hale <mark.hale@physics.org>
This commit is contained in:
pulquero 2018-04-21 07:12:11 +01:00 committed by Michael Keller
parent 4968352446
commit a51bea1ebc
3 changed files with 8 additions and 8 deletions

View file

@ -27,11 +27,11 @@ PG_DECLARE(escSensorConfig_t, escSensorConfig);
typedef struct {
uint8_t dataAge;
int8_t temperature;
int16_t voltage;
int16_t current;
int16_t consumption;
int16_t rpm;
int8_t temperature; // C degrees
int16_t voltage; // 0.01V
int16_t current; // 0.01A
int16_t consumption; // mAh
int16_t rpm; // 0.01erpm
} escSensorData_t;
#define ESC_DATA_INVALID 255