Skip to content

Commit

Permalink
services: autopilot-manager: Initialize self vars
Browse files Browse the repository at this point in the history
* Add initial values for some member properties that aren't initialized
  in constructor but in setup
  • Loading branch information
JoaoMario109 committed Jan 13, 2025
1 parent aaeef80 commit 07a6633
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/services/ardupilot_manager/autopilot_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ def __init__(self) -> None:
self.settings = Settings()
self.settings.create_app_folders()
self._current_board: Optional[FlightController] = None
self.should_be_running = False
self.mavlink_manager = None

# Load settings and do the initial configuration
if self.settings.load():
Expand Down

0 comments on commit 07a6633

Please sign in to comment.