mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-02-17 12:56:48 +01:00
Use Teclast H30 code for Teclast H10
Thanks @newfla for pointing that hout Closes #867
This commit is contained in:
parent
1ccc99c3bc
commit
eb9d321b95
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user