[sendspin] Pack mdns_advertised_ next to task_stack_in_psram_ (#20148)

This commit is contained in:
J. Nick Koston
2026-10-04 15:39:20 -04:00
committed by GitHub
parent d0473438d9
commit 84435e7d81
+3 -1
View File
@@ -308,6 +308,9 @@ class SendspinHub final : public Component,
CallbackManager<void(const sendspin::GroupUpdateObject &)> group_update_callbacks_{};
bool task_stack_in_psram_{false};
#ifdef USE_MDNS_SUPPORTS_ENABLE_DISABLE
bool mdns_advertised_{false}; // Last state requested from mdns
#endif
// Requested client state, applied from loop(). Empty until the switch restores its state.
std::optional<bool> enabled_;
@@ -320,7 +323,6 @@ class SendspinHub final : public Component,
#ifdef USE_MDNS_SUPPORTS_ENABLE_DISABLE
mdns::MDNSComponent *mdns_{nullptr};
bool mdns_advertised_{false}; // Last state requested from mdns
#endif
};