Skip to content

Commit

Permalink
ConfigCubeID: add force baud option (default on)
Browse files Browse the repository at this point in the history
  • Loading branch information
meee1 committed Aug 23, 2024
1 parent ce96e3c commit 7bfcf98
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
15 changes: 15 additions & 0 deletions GCSViews/ConfigurationView/ConfigCubeID.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion GCSViews/ConfigurationView/ConfigCubeID.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ private void Prd_DoWork(Utilities.IProgressReporterDialogue sender)

bool seenresp = false;

MainV2.comPort.BaseStream.BaudRate = 57600;
if (CHK_forcebaud.Checked)
MainV2.comPort.BaseStream.BaudRate = 57600;

var subid = MainV2.comPort.SubscribeToPacketType(MAVLink.MAVLINK_MSG_ID.CUBEPILOT_FIRMWARE_UPDATE_RESP, msg =>
{
Expand Down

0 comments on commit 7bfcf98

Please sign in to comment.