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

[core] Fix ComponentIterator alignment for 32-bit platforms (#10969)

This commit is contained in:
J. Nick Koston
2025-10-01 15:33:14 +02:00
committed by GitHub
parent fe4799b300
commit db1aa82350

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>