Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect scan device-option for devices connected after startup #1828

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions UI/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,10 @@ private void Module_Connected(object sender, EventArgs e)
// This board is not flashed yet
if (module.ToMobiFlightModuleInfo()?.FirmwareInstallPossible() ?? false)
{
// We can install firmware on this device but the user
// has asked us not to auto scan devices so we bail
if (!Properties.Settings.Default.FwAutoUpdateCheck) return;

PerformFirmwareInstallProcess(module.ToMobiFlightModuleInfo());
return;
}
Expand Down
Loading