Skip to content

Commit

Permalink
GimbalControlSettings: implement default yaw lock setting
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlong13 committed Sep 29, 2024
1 parent fe2401d commit eb3d908
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Controls/GimbalControlSettingsForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,8 @@ public GimbalControlSettings()
CameraVFOV = 30.0m; // vertical, degrees

// Default boolean options
DefaultLockedMode = false;
UseFOVReportedByCamera = true;
DefaultLockedMode = false;
}

public GimbalControlSettings(GimbalControlSettings other)
Expand Down
2 changes: 2 additions & 0 deletions Controls/GimbalVideoControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ public GimbalVideoControl()

loadPreferences();

yaw_lock = preferences.DefaultLockedMode;

// Register the global key handler
Application.AddMessageFilter(this);

Expand Down

0 comments on commit eb3d908

Please sign in to comment.