中文版
This commit is contained in:
1 parent
0a4925bb39
commit
92d0579060
20 files changed
+2870
-2041
No files matched your search
@@ -67,7 +67,7 @@ namespace Assets.Scripts.Devices.Ble.Characteristic
|
||||
List<ushort> r = new List<ushort>();
|
||||
for (int i = 3; i < data.Length; i += 2)
|
||||
{
|
||||
ushort pull = Convert.ToUInt16(Math.Round(LbsToNewton(data[i])));
|
||||
ushort pull = data[i] < 10 ? (ushort)0 : Convert.ToUInt16(Math.Round(LbsToNewton(data[i])));
|
||||
r.Add(pull);
|
||||
PullValue = pull;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user