1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-26 17:54:50 +02:00

Merge pull request #136 from cantruchd/master

Add support for Yunmai Mini 2/Yunmai balance
This commit is contained in:
OliE
2018-01-12 15:14:21 +01:00
committed by GitHub

View File

@@ -54,7 +54,7 @@ public class BluetoothYunmaiMini extends BluetoothCommunication {
@Override @Override
public boolean checkDeviceName(String btDeviceName) { public boolean checkDeviceName(String btDeviceName) {
if (btDeviceName.startsWith("YUNMAI-SIGNAL-M")) { if (btDeviceName.startsWith("YUNMAI-SIGNAL-M") || btDeviceName.startsWith("YUNMAI-ISM2-W")) {
return true; return true;
} }