Skip to content

gui: fixes a forever loop when a malformed interface is specified#96

Merged
tridge merged 1 commit intodronecan:masterfrom
joshanne:pr/fix-malformed-interface-causing-forever-loop
Mar 25, 2026
Merged

gui: fixes a forever loop when a malformed interface is specified#96
tridge merged 1 commit intodronecan:masterfrom
joshanne:pr/fix-malformed-interface-causing-forever-loop

Conversation

@joshanne
Copy link
Copy Markdown
Collaborator

@joshanne joshanne commented Jul 30, 2025

If you used an argument that results in the device failing to open (eg --interface aaaa), it falls through to Exception.
If the exception occurs, you can result in a forever loop where a non-serial interface was set at the command line, but the device fails to open.

If an exception occurs, force a return to the setup window, with cleared iface and args.

If you used an argument that results in the device failing to open, it falls through to Exception. If the exception occurs, you can result in a forever loop where the interface was set at the command line, but the device fails to open.

If an exception occurs, force a return to the setup window, with cleared iface and args.
@tridge tridge merged commit 0e8db52 into dronecan:master Mar 25, 2026
4 checks passed
@joshanne joshanne deleted the pr/fix-malformed-interface-causing-forever-loop branch March 30, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants