优化赛事人数多卡的问题&解决蓝牙连接133错误码

This commit is contained in:
lishuo committed 2021-09-24 19:16:40 +08:00
1 parent 1c73701e73
commit 65e7d9c4f4
272 files changed
+19674 -44

No files matched your search

@@ -88,7 +88,8 @@ namespace Assets.Scripts.Devices.Ble.Characteristic
{
int num = this.CadenceEventDifference() * 61440 / this.CadenceTimeDifference();
if (num > (int)byte.MaxValue)
return (int)byte.MaxValue;
return 0;
//return (int)byte.MaxValue;
if (num < 0)
return 0;
return num;