fix com>9 bug for detecting device
This commit is contained in:
parent
ccfa0b5456
commit
a4efd1f0f5
@ -172,7 +172,7 @@ namespace MifareOneTool
|
||||
{
|
||||
if (!string.IsNullOrEmpty(_e.Data))
|
||||
{
|
||||
Match m = Regex.Match(_e.Data, "pn532_uart:COM\\d:115200");
|
||||
Match m = Regex.Match(_e.Data, "pn532_uart:COM\\d+:115200");
|
||||
if (m.Success)
|
||||
{
|
||||
myReader.Add(m.Value);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user