Skip to content
Snippets Groups Projects
Commit 861f5a3d authored by Beat Küng's avatar Beat Küng Committed by Lorenz Meier
Browse files

mag_calibration: fix type passed to param_get()

parent 0dcf9775
No related branches found
No related tags found
No related merge requests found
......@@ -531,7 +531,7 @@ calibrate_return mag_calibrate_all(orb_advert_t *mavlink_log_pub)
// Collect: As defined by configuration
// start with a full mask, all six bits set
uint32_t cal_mask = (1 << 6) - 1;
int32_t cal_mask = (1 << 6) - 1;
param_get(param_find("CAL_MAG_SIDES"), &cal_mask);
calibration_sides = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment