Skip to content

Commit

Permalink
Merge pull request #2233 from jjisolo/patch-1
Browse files Browse the repository at this point in the history
Add missing switch-case parameter
  • Loading branch information
julianoes committed Feb 29, 2024
2 parents d88e912 + dee253c commit 107122a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mavsdk/core/system_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1002,6 +1002,8 @@ ardupilot::PlaneMode SystemImpl::flight_mode_to_ardupilot_plane_mode(FlightMode
return ardupilot::PlaneMode::Fbwa;
case FlightMode::Stabilized:
return ardupilot::PlaneMode::Stabilize;
case FlightMode::Offboard:
return ardupilot::PlaneMode::Guided;
case FlightMode::Unknown:
return ardupilot::PlaneMode::Unknown;
default:
Expand Down

0 comments on commit 107122a

Please sign in to comment.