mirror of
https://github.com/esphome/esphome.git
synced 2025-10-21 19:23:45 +01:00
preen
This commit is contained in:
@@ -1564,7 +1564,7 @@ class RepeatedTypeInfo(TypeInfo):
|
||||
if self._use_bitmask:
|
||||
# For bitmask fields, dump the hex value of the bitmask
|
||||
return (
|
||||
f"char buffer[32];\n"
|
||||
f"char buffer[64];\n"
|
||||
f'snprintf(buffer, sizeof(buffer), " {self.field_name}: 0x%08" PRIX32 "\\n", this->{self.field_name});\n'
|
||||
f"out.append(buffer);"
|
||||
)
|
||||
|
Reference in New Issue
Block a user