mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 09:28:58 +00:00
fix all sign-compare warnings
This commit is contained in:
committed by
Lorenz Meier
parent
cf74166801
commit
9ce83f2208
@@ -488,7 +488,7 @@ calibrate_return do_accel_calibration_measurements(orb_advert_t *mavlink_log_pub
|
||||
// and match it up with the one from the uORB subscription, because the
|
||||
// instance ordering of uORB and the order of the FDs may not be the same.
|
||||
|
||||
if(report.device_id == device_id[cur_accel]) {
|
||||
if (report.device_id == (uint32_t)device_id[cur_accel]) {
|
||||
// Device IDs match, correct ORB instance for this accel
|
||||
found_cur_accel = true;
|
||||
// store initial timestamp - used to infer which sensors are active
|
||||
|
||||
Reference in New Issue
Block a user