mirror of
https://github.com/esphome/esphome.git
synced 2025-10-21 19:23:45 +01:00
fix
This commit is contained in:
@@ -1478,7 +1478,7 @@ class RepeatedTypeInfo(TypeInfo):
|
|||||||
return None
|
return None
|
||||||
return (
|
return (
|
||||||
f"case {self.number}: "
|
f"case {self.number}: "
|
||||||
f"if (static_cast<uint8_t>({content}) <= 31) "
|
f"if (static_cast<uint8_t>({content}) < 32) "
|
||||||
f"this->{self.field_name} |= (1U << static_cast<uint8_t>({content})); "
|
f"this->{self.field_name} |= (1U << static_cast<uint8_t>({content})); "
|
||||||
f"break;"
|
f"break;"
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user