1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-04 01:09:47 +01:00

FitPro: add LH716 to list of supported names, fix #2418

This commit is contained in:
vanous 2021-10-26 09:01:40 +02:00
parent 3a642251fe
commit 67b1dd2051

View File

@ -60,9 +60,10 @@ public class FitProDeviceCoordinator extends AbstractDeviceCoordinator {
BluetoothDevice device = candidate.getDevice(); BluetoothDevice device = candidate.getDevice();
String name = device.getName(); String name = device.getName();
if (name != null && if (name != null && (
(name.equals("M6") || name.equals("M6") ||
name.equals("M4")) name.equals("M4") ||
name.equals("LH716"))
) { ) {
return DeviceType.FITPRO; return DeviceType.FITPRO;
} }