From 75b2cf417483971ae1f256420413db45f4155ec7 Mon Sep 17 00:00:00 2001 From: Erik Johansson Date: Sat, 7 Jul 2018 22:17:00 +0200 Subject: [PATCH] Revert "Test if Yunmai Balance works as the mini" This reverts commit b92e143ecd6218b2bdb6d8929ec14ced729814f0. See #305 --- .../com/health/openscale/core/bluetooth/BluetoothFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothFactory.java b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothFactory.java index 7337e91a..e994a870 100644 --- a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothFactory.java +++ b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothFactory.java @@ -75,7 +75,7 @@ public class BluetoothFactory { if (name.startsWith("SANITAS SBF70".toLowerCase(Locale.US)) || name.startsWith("sbf75")) { return new BluetoothBeurerSanitas(context, BluetoothBeurerSanitas.DeviceType.SANITAS_SBF70_70); } - if (deviceName.startsWith("YUNMAI-SIGNAL-M") || deviceName.startsWith("YUNMAI-ISM2-")) { + if (deviceName.startsWith("YUNMAI-SIGNAL-M") || deviceName.startsWith("YUNMAI-ISM2-W")) { return new BluetoothYunmaiSE_Mini(context, true); } if (deviceName.startsWith("YUNMAI-ISSE")) {