This commit is contained in:
J. Nick Koston 2023-06-09 18:30:56 -05:00
parent df01b002cf
commit 13f85e33e1
No known key found for this signature in database
1 changed files with 379 additions and 378 deletions

View File

@ -75,7 +75,8 @@ namespace ratgdo {
ESP_LOGCONFIG(TAG, " Rolling Code Counter: %d", this->rollingCodeCounter); ESP_LOGCONFIG(TAG, " Rolling Code Counter: %d", this->rollingCodeCounter);
} }
uint16_t RATGDOComponent::readRollingCode() { uint16_t RATGDOComponent::readRollingCode()
{
{ {
uint32_t rolling = 0; uint32_t rolling = 0;
uint64_t fixed = 0; uint64_t fixed = 0;
@ -480,7 +481,7 @@ namespace ratgdo {
global_preferences->sync(); global_preferences->sync();
} }
void RATGDOComponent::register_child(RATGDOClient* obj) void RATGDOComponent::register_child(RATGDOClient * obj)
{ {
this->children_.push_back(obj); this->children_.push_back(obj);
obj->set_parent(this); obj->set_parent(this);
@ -490,5 +491,5 @@ namespace ratgdo {
return static_cast<LightState>(this->lightState); return static_cast<LightState>(this->lightState);
} }
} // namespace ratgdo } // namespace ratgdo
} // namespace esphome } // namespace esphome