mirror of
https://github.com/esphome/esphome.git
synced 2026-10-22 05:46:12 +00:00
[slow_pwm] Group the bool members to drop padding (#21200)
This commit is contained in:
@@ -50,9 +50,9 @@ class SlowPWMOutput final : public output::FloatOutput, public Component {
|
||||
std::unique_ptr<Trigger<>> turn_off_trigger_{nullptr};
|
||||
std::unique_ptr<Trigger<bool>> state_change_trigger_{nullptr};
|
||||
float state_{0};
|
||||
bool current_state_{false};
|
||||
unsigned int period_start_time_{0};
|
||||
unsigned int period_;
|
||||
bool current_state_{false};
|
||||
bool restart_cycle_on_state_change_;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user