Skip to content

[Bug] "commander calibrate baro" in cli unusable #26663

@tarmo

Description

@tarmo

Describe the bug

When calling commander calibrate baro from cli the calibration process results in an endless loop. This happens as a result of dd2322d where the call to getAltitudeFromPressure was introduced without accounting for it requiring pressure_sealevel instead of temperature for its second argument.

A fix was offered for this in 68b349b by @haumarco but it wasn't merged.

Flight Log / Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions