Skip to content

Commit

Permalink
BUGFIX: also start at 02 if no FC is connected
Browse files Browse the repository at this point in the history
  • Loading branch information
amilcarlucas committed Jul 13, 2024
1 parent 400cbbd commit 7078288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MethodicConfigurator/ardupilot_methodic_configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def main():

component_editor(args, flight_controller, local_filesystem.vehicle_type, local_filesystem, vehicle_dir_window)

start_file = local_filesystem.get_start_file(args.n, 'INS_TCAL1_ENABLE' in flight_controller.fc_parameters)
start_file = local_filesystem.get_start_file(args.n, 'INS_TCAL1_ENABLE' in flight_controller.fc_parameters or not flight_controller.fc_parameters)

# Call the GUI function with the starting intermediate parameter file
ParameterEditorWindow(start_file, flight_controller, local_filesystem, VERSION)
Expand Down

0 comments on commit 7078288

Please sign in to comment.