mirror of
https://github.com/esphome/esphome.git
synced 2025-09-06 13:22:19 +01:00
cleanup
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user