mirror of
https://github.com/esphome/esphome.git
synced 2026-09-03 19:46:02 +00:00
libretiny: KNOWN_VARIANTS -> frozenset for O(1) membership
This commit is contained in:
@@ -56,7 +56,7 @@ def _detect(env):
|
||||
return None
|
||||
|
||||
|
||||
KNOWN_VARIANTS = (
|
||||
KNOWN_VARIANTS = frozenset({
|
||||
"BK7231N",
|
||||
"BK7231T",
|
||||
"BK7231Q",
|
||||
@@ -64,7 +64,7 @@ KNOWN_VARIANTS = (
|
||||
"LN882H",
|
||||
"RTL8710B",
|
||||
"RTL8720C",
|
||||
)
|
||||
})
|
||||
|
||||
|
||||
def _inject_keep(host_section):
|
||||
|
||||
Reference in New Issue
Block a user