发布前微调

This commit is contained in:
lishuo committed 2022-07-08 18:55:27 +08:00
1 parent bd9696cd81
commit fccc830f71
8 files changed
+14 -39

No files matched your search

@@ -62,7 +62,9 @@ namespace Assets.Scripts.Devices.Ble.Characteristic
public static RowerTaskPanel.RowerType rowerType { get; private set; }
public void HandleAttributeReceived(byte[] data)
{
if ((App.IsRowerMode?? false)) {
return;
}
if (data[0] == 0x35)
{
PeakDriveForce = LbsToNewton(Convert.ToDouble(BitConvertHelper.ToUInt16(data, 13)) / 10, true);