1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-05 21:02:20 +01:00
This commit is contained in:
J. Nick Koston
2025-07-26 14:45:26 -10:00
parent 09a30689e9
commit e94f5bffa3
3 changed files with 49 additions and 75 deletions

View File

@@ -913,7 +913,7 @@ class EnumType(TypeInfo):
def get_size_calculation(self, name: str, force: bool = False) -> str:
return self._get_simple_size_calculation(
name, force, "add_enum", f"static_cast<uint32_t>({name})"
name, force, "add_uint32", f"static_cast<uint32_t>({name})"
)
def get_estimated_size(self) -> int: