Skip to content

Commit

Permalink
changed return type from string to VehcileMode
Browse files Browse the repository at this point in the history
  • Loading branch information
ashum68 committed Jul 7, 2024
1 parent 688e042 commit 1256c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mavlink/modules/flight_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,4 +240,4 @@ def get_flight_mode(self) -> str:
"""
Gets the current flight mode of the drone.
"""
return self.drone.mode.name
return self.drone.mode

0 comments on commit 1256c4e

Please sign in to comment.