mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Use Teclast H30 code for Teclast H10
Thanks @newfla for pointing that hout Closes #867
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ public class TeclastH30Coordinator extends AbstractDeviceCoordinator {
|
||||
@Override
|
||||
public DeviceType getSupportedType(GBDeviceCandidate candidate) {
|
||||
String name = candidate.getDevice().getName();
|
||||
if (name != null && name.startsWith("TECLAST_H30")) {
|
||||
if (name != null && (name.startsWith("TECLAST_H30") || name.startsWith("TECLAST_H10"))) {
|
||||
return DeviceType.TECLASTH30;
|
||||
}
|
||||
return DeviceType.UNKNOWN;
|
||||
|
||||
Reference in New Issue
Block a user