Skip to content

Commit a88adbe

Browse files
committed
feat(main): Skip IMU temp cal when running in simple GUI complexity mode
1 parent 9b1b7ca commit a88adbe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ardupilot_methodic_configurator/__main__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,8 @@ def main() -> None:
219219
local_filesystem.write_param_default_values_to_file(param_default_values)
220220

221221
imu_tcal_available = "INS_TCAL1_ENABLE" in flight_controller.fc_parameters or not flight_controller.fc_parameters
222-
start_file = local_filesystem.get_start_file(args.n, imu_tcal_available)
222+
simple_gui: bool = ProgramSettings.get_setting("gui_complexity") == "simple"
223+
start_file = local_filesystem.get_start_file(args.n, imu_tcal_available and not simple_gui)
223224

224225
if flight_controller.fc_parameters:
225226
local_filesystem.backup_fc_parameters_to_file(

0 commit comments

Comments
 (0)