From 4807209000bab95964d031833e4200e130efa55b Mon Sep 17 00:00:00 2001 From: Valter Costa Date: Mon, 22 Jan 2024 16:40:42 +0000 Subject: [PATCH] Update mock shifting (#212) --- .../ki2/ant/connection/mock/MockShiftingDeviceConnection.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/valterc/ki2/ant/connection/mock/MockShiftingDeviceConnection.java b/app/src/main/java/com/valterc/ki2/ant/connection/mock/MockShiftingDeviceConnection.java index f46bfb45..733babab 100644 --- a/app/src/main/java/com/valterc/ki2/ant/connection/mock/MockShiftingDeviceConnection.java +++ b/app/src/main/java/com/valterc/ki2/ant/connection/mock/MockShiftingDeviceConnection.java @@ -31,8 +31,8 @@ public class MockShiftingDeviceConnection implements IAntDeviceConnection { private static final int VALUE_INIT_BATTERY_MIN = 20; private static final int VALUE_INIT_BATTERY_MAX = 70; private static final float PROBABILITY_INIT_DISCONNECT = .5f; - private static final float PROBABILITY_DATA_REAR_SHIFT = .5f; - private static final float PROBABILITY_DATA_FRONT_SHIFT = .1f; + private static final float PROBABILITY_DATA_REAR_SHIFT = .1f; + private static final float PROBABILITY_DATA_FRONT_SHIFT = .05f; private static final float PROBABILITY_DATA_BATTERY_DECREASE = .001f; private final DeviceId deviceId;