light
This commit is contained in:
parent
fb4bcf5ac1
commit
53b838249a
|
@ -1,6 +1,6 @@
|
||||||
|
#include "ratgdo_light_output.h"
|
||||||
#include "../ratgdo_state.h"
|
#include "../ratgdo_state.h"
|
||||||
#include "esphome/core/log.h"
|
#include "esphome/core/log.h"
|
||||||
#include "ratgdo_light_output.h"
|
|
||||||
|
|
||||||
namespace esphome {
|
namespace esphome {
|
||||||
namespace ratgdo {
|
namespace ratgdo {
|
||||||
|
|
|
@ -134,7 +134,7 @@ namespace ratgdo {
|
||||||
this->input_obst_pin_->attach_interrupt(RATGDOStore::isrObstruction, &this->store_, gpio::INTERRUPT_ANY_EDGE);
|
this->input_obst_pin_->attach_interrupt(RATGDOStore::isrObstruction, &this->store_, gpio::INTERRUPT_ANY_EDGE);
|
||||||
|
|
||||||
ESP_LOGD(TAG, "Syncing rolling code counter after reboot...");
|
ESP_LOGD(TAG, "Syncing rolling code counter after reboot...");
|
||||||
delay(60); //
|
delay(60); //
|
||||||
|
|
||||||
sync(); // reboot/sync to the opener on startup
|
sync(); // reboot/sync to the opener on startup
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue