1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-25 09:16:01 +03:00

[RPM] Enlarge RPM data type to uint32_t to prevent overlow in computing average RPM

This commit is contained in:
Konstantin (DigitalEntity) Sharlaimov 2020-02-02 19:35:02 +01:00
parent a3fb3b618f
commit e41bb75103

View file

@ -29,7 +29,7 @@ typedef struct {
int8_t temperature;
int16_t voltage;
int32_t current;
int16_t rpm;
uint32_t rpm;
} escSensorData_t;
typedef struct escSensorConfig_s {