mirror of
https://github.com/esphome/esphome.git
synced 2025-07-31 07:36:35 +00:00
cleanup
This commit is contained in:
parent
6d6bf82501
commit
9a391df0f0
@ -946,6 +946,11 @@ class FixedArrayRepeatedType(TypeInfo):
|
|||||||
o += "}\n"
|
o += "}\n"
|
||||||
return o
|
return o
|
||||||
|
|
||||||
|
def dump(self, name: str) -> str:
|
||||||
|
# This is used when dumping the array itself (not its elements)
|
||||||
|
# Since dump_content handles the iteration, this is not used directly
|
||||||
|
return ""
|
||||||
|
|
||||||
def get_size_calculation(self, name: str, force: bool = False) -> str:
|
def get_size_calculation(self, name: str, force: bool = False) -> str:
|
||||||
# For fixed arrays, we always encode all elements
|
# For fixed arrays, we always encode all elements
|
||||||
# Check if this is a fixed-size type by seeing if it has a fixed byte count
|
# Check if this is a fixed-size type by seeing if it has a fixed byte count
|
||||||
|
Loading…
x
Reference in New Issue
Block a user