Merge pull request #88 from grigorig/proto_fix

Fixed protocol autodetection to support STC8H1KxxT
This commit is contained in:
area-8051 2023-08-30 17:27:05 +02:00 committed by GitHub
commit 48a36b90c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -390,11 +390,11 @@ class StcAutoProtocol(StcBaseProtocol):
("stc12", r"(STC|IAP)(10|11|12)\D"), ("stc12", r"(STC|IAP)(10|11|12)\D"),
("stc15a", r"(STC|IAP)15[FL][012]0\d(E|EA|)$"), ("stc15a", r"(STC|IAP)15[FL][012]0\d(E|EA|)$"),
("stc15", r"(STC|IAP|IRC)15\D"), ("stc15", r"(STC|IAP|IRC)15\D"),
("stc8d", r"STC8H(3|4|8)K"), ("stc8g", r"STC8H1K\d\d$"),
("stc8d", r"STC32"),
("stc8d", r"STC8A8K\d\dD4"),
("stc8g", r"STC8H"),
("stc8g", r"STC8G"), ("stc8g", r"STC8G"),
("stc8d", r"STC8H"),
("stc8d", r"STC32"),
("stc8d", r"STC8A8K\d\dD\d"),
("stc8", r"STC8\D")] ("stc8", r"STC8\D")]
for protocol_name, pattern in protocol_database: for protocol_name, pattern in protocol_database: