Skip to content

Commit

Permalink
修复了读取部分卡片时程序崩溃的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanheiii committed Jul 13, 2022
1 parent 5442d9b commit 628aa77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Mageki/Mageki/Views/ControllerPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ public async void ScanFelica(byte[] felicaId)
{
if (nfcScanning || logoHoldUnhandled) return;
nfcScanning = true;
felicaId = felicaId.Concat(new byte[] { 0 }).ToArray();
io.SetAime(true, new BigInteger(felicaId).ToBcd());
await Task.Delay(3000);
io.SetAime(false, new byte[10]);
Expand Down

0 comments on commit 628aa77

Please sign in to comment.