Skip to content

Commit

Permalink
PR
Browse files Browse the repository at this point in the history
  • Loading branch information
BluemarkInnovations authored and meee1 committed Jan 10, 2023
1 parent e96a6a6 commit a83d32b
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 34 deletions.
4 changes: 2 additions & 2 deletions Plugins/OpenDroneID2/OpenDroneID_Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ public override string Name

public override string Version
{
get { return "0.04"; }
get { return "0.05"; }
}

public override string Author
{
get { return "Steven Borenstein"; }
get { return "Steven Borenstein, updated by BlueMark Innovations BV"; }
}

public override bool Init()
Expand Down
58 changes: 33 additions & 25 deletions Plugins/OpenDroneID2/OpenDroneID_UI.Designer.cs

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

9 changes: 2 additions & 7 deletions Plugins/OpenDroneID2/OpenDroneID_UI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,7 @@ private void checkODID_OK()
{
msg = "Remote ID ARM Error";

}
else if (_uas_id == false)
{
msg = "Need to input UAS ID";
}
}
else
{
myODID_Status.setStatusOK();
Expand All @@ -268,8 +264,7 @@ private void checkODID_OK()
private void checkUID()
{

_uas_id = (!String.IsNullOrEmpty(TXT_UAS_ID.Text) && CMB_uas_id_type.SelectedIndex > 0 && CMB_uas_type.SelectedIndex > 0);
LED_UAS_ID.Color = _uas_id ? Color.Green : Color.Red;
_uas_id = (!String.IsNullOrEmpty(TXT_UAS_ID.Text) && CMB_uas_id_type.SelectedIndex > 0 && CMB_uas_type.SelectedIndex > 0);

// Note - this needs to be updated later to accomondate a Standard Remote ID Configuratoin
if (_uas_id && CMB_uas_id_type.SelectedIndex > 0 && CMB_uas_type.SelectedIndex > 0)
Expand Down

0 comments on commit a83d32b

Please sign in to comment.