mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 09:28:58 +00:00
vmount: type-promotion fix clang-tidy
This commit is contained in:
@@ -120,7 +120,7 @@ bool InputRC::_read_control_data_from_subscription(ControlData &control_data, bo
|
||||
|
||||
// Detect a big stick movement
|
||||
for (int i = 0; i < 3; ++i) {
|
||||
if (fabs(_last_set_aux_values[i] - new_aux_values[i]) > 0.25) {
|
||||
if (fabs(_last_set_aux_values[i] - new_aux_values[i]) > 0.25f) {
|
||||
major_movement = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user