Skip to content

Commit

Permalink
AP_Mount: rename ins get_primary_accel to get_first_usable_accel
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker authored and andyp1per committed Aug 23, 2024
1 parent d7eda1e commit 308ed96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_Mount/SoloGimbal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ void SoloGimbal::update_fast() {
// single gyro mode - one of the first two gyros are unhealthy or don't exist
// just read primary gyro
Vector3f dAng;
readVehicleDeltaAngle(ins.get_primary_gyro(), dAng);
readVehicleDeltaAngle(ins.get_first_usable_gyro(), dAng);
_vehicle_delta_angles += dAng;
}
}
Expand Down

0 comments on commit 308ed96

Please sign in to comment.