mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-05 07:40:36 +08:00
fix rpm overflow, change type to int32
This commit is contained in:
@@ -52,7 +52,7 @@ struct EscData {
|
||||
float temperature; // [deg C]
|
||||
float voltage; // [0.01V]
|
||||
float current; // [0.01A]
|
||||
int16_t erpm; // [100ERPM]
|
||||
int32_t erpm; // [eRPM]
|
||||
};
|
||||
|
||||
enum class TelemetryStatus {
|
||||
|
||||
Reference in New Issue
Block a user