cogito/esphome_dev/esphome/components/seeed_mr24hpc1/button/restart_button.cpp

9 lines
202 B
C++

#include "restart_button.h"
namespace esphome {
namespace seeed_mr24hpc1 {
void RestartButton::press_action() { this->parent_->set_restart(); }
} // namespace seeed_mr24hpc1
} // namespace esphome