mirror of
https://github.com/esphome/esphome.git
synced 2025-07-30 07:06:38 +00:00
cleanup
This commit is contained in:
parent
f034069b5e
commit
b3abebfb37
@ -970,11 +970,7 @@ class FixedArrayRepeatedType(TypeInfo):
|
||||
|
||||
def get_estimated_size(self) -> int:
|
||||
# For fixed arrays, estimate underlying type size * array size
|
||||
underlying_size = (
|
||||
self._ti.get_estimated_size()
|
||||
if hasattr(self._ti, "get_estimated_size")
|
||||
else 8
|
||||
)
|
||||
underlying_size = self._ti.get_estimated_size()
|
||||
return underlying_size * self.array_size
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user