fix: 修复后端数码管无法正常读取/关闭的问题
This commit is contained in:
@@ -52,7 +52,7 @@ public class SevenDigitalTubesCtrl
|
||||
if (ret.Value.Options.Data == null || ret.Value.Options.Data.Length < 4)
|
||||
return new(new Exception("Data length is too short"));
|
||||
|
||||
var data = Number.BytesToUInt32(ret.Value.Options.Data, 0, 4, true).Value;
|
||||
var data = Number.BytesToUInt32(ret.Value.Options.Data, 0, 4).Value;
|
||||
|
||||
if ((data >> 8) != num)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user