Compare commits

..
2 changed files with 2 additions and 4 deletions

No files matched your search

@@ -8,9 +8,6 @@ namespace esphome::factory_reset {
class FactoryResetSwitch final : public switch_::Switch, public Component {
public:
// User provided, not "= default": `new(p) FactoryResetSwitch()` would zero-fill .bss that is already zero.
FactoryResetSwitch() {}
void dump_config() override;
#ifdef USE_OPENTHREAD
static void factory_reset_callback();
@@ -7,7 +7,8 @@ namespace esphome::ld2412 {
class QueryButton final : public button::Button, public Parented<LD2412Component> {
public:
QueryButton() = default;
// User provided, not "= default": `new(p) QueryButton()` would zero-fill .bss that is already zero.
QueryButton() {}
protected:
void press_action() override;