1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-03 10:32:21 +01:00

[core] Fix ComponentIterator alignment for 32-bit platforms

This commit is contained in:
J. Nick Koston
2025-10-01 13:34:54 +02:00
parent ab1f8326ee
commit 57d4cc151d

View File

@@ -168,8 +168,9 @@ class ComponentIterator {
UPDATE,
#endif
MAX,
} state_{IteratorState::NONE};
};
uint16_t at_{0}; // Supports up to 65,535 entities per type
IteratorState state_{IteratorState::NONE};
bool include_internal_{false};
template<typename Container>