Skip to content

Commit

Permalink
Fixed false reading could cause program to crash
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan1827 committed Jun 27, 2022
1 parent b69856d commit f740ae5
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion 5E9030.29/BR_RFID/BR_RFID/BR_RFID.cs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ void serRFID_DataReceived(object sender, System.IO.Ports.SerialDataReceivedEvent
if (_id_old != _id && _id != "")
{
if (_id.Length >= _key_min_length) OnResponseData(id);
else if (OnException != null) OnException(excResponseSize, Convert.ToByte(serRFID.PortName));
else if (OnException != null) OnException(excResponseSize, _port_cur);
}
_id_old = _id;
}
Expand Down
4 changes: 2 additions & 2 deletions 5E9030.29/BR_RFID/BR_RFID/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// 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("1.2.0.0")]
[assembly: AssemblyFileVersion("1.2.0.0")]
[assembly: AssemblyVersion("1.3.0.0")]
[assembly: AssemblyFileVersion("1.3.0.0")]
5 changes: 4 additions & 1 deletion 5E9030.29/BR_RFID/BR_RFID/Revision.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
Version 1.2
Version 1.3
- Fixed false reading could cause program to crash

Version 1.2
- Added more log details and exceptions

Version 1.1
Expand Down
4 changes: 2 additions & 2 deletions 5E9030.29/RFID_USB/RFID_USB/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// 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("1.2.0.0")]
[assembly: AssemblyFileVersion("1.2.0.0")]
[assembly: AssemblyVersion("1.3.0.0")]
[assembly: AssemblyFileVersion("1.3.0.0")]
Binary file modified 5E9030.29/RFID_USB/RFID_USB/bin/Debug/RFID_USB.exe
Binary file not shown.

0 comments on commit f740ae5

Please sign in to comment.