mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 02:43:34 +08:00
voted_sensors_update: fix mag rotation
fixes a wrong index for _mag_device_id: previously, driver_index was used (the CAL_MAG param index), but the correct index is the uorb topic instance.
This commit is contained in:
@@ -942,7 +942,8 @@ PARAM_DEFINE_FLOAT(SENS_BOARD_X_OFF, 0.0f);
|
||||
PARAM_DEFINE_FLOAT(SENS_BOARD_Z_OFF, 0.0f);
|
||||
|
||||
/**
|
||||
* Select primary magnetometer
|
||||
* Select primary magnetometer.
|
||||
* DEPRECATED, only used on V1 hardware
|
||||
*
|
||||
* @min 0
|
||||
* @max 2
|
||||
|
||||
Reference in New Issue
Block a user