Skip to content

Commit

Permalink
More tiny fixes. Release 2.21b.
Browse files Browse the repository at this point in the history
  • Loading branch information
ClusterM committed Oct 10, 2017
1 parent 39c40a7 commit 690b602
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
12 changes: 10 additions & 2 deletions FelLib/Fel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,17 @@ public bool Open(UInt16 vid, UInt16 pid)
epWriter = device.OpenEndpointWriter((WriteEndpointID)outEndp);

Debug.WriteLine("Trying to verify device");
if (VerifyDevice().Board != 0x00166700)
try
{
if (VerifyDevice().Board != 0x00166700)
{
Debug.WriteLine("Invalid board ID: " + VerifyDevice().Board);
return false;
}
}
catch (Exception ex)
{
Debug.WriteLine("Invalid board ID: " + VerifyDevice().Board);
Debug.WriteLine("Error: " + ex.Message + ex.StackTrace);
return false;
}

Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.0.21.23")]
[assembly: AssemblyFileVersion("2.0.21.23")]
[assembly: AssemblyVersion("2.0.21.30")]
[assembly: AssemblyFileVersion("2.0.21.30")]
[assembly: NeutralResourcesLanguageAttribute("en-US")]
4 changes: 2 additions & 2 deletions hakchi_gui.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
<PublisherName>Alexey %27Cluster%27 Avdyukhin</PublisherName>
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
<WebPage>index.html</WebPage>
<ApplicationRevision>23</ApplicationRevision>
<ApplicationVersion>2.0.21.23</ApplicationVersion>
<ApplicationRevision>30</ApplicationRevision>
<ApplicationVersion>2.0.21.30</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<CreateDesktopShortcut>true</CreateDesktopShortcut>
<PublishWizardCompleted>true</PublishWizardCompleted>
Expand Down

0 comments on commit 690b602

Please sign in to comment.