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:
parent
a3fb3b618f
commit
e41bb75103
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue