This commit is contained in:
J. Nick Koston 2023-06-09 16:00:25 -05:00
parent bb9eddf973
commit 00f6418345
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ namespace ratgdo {
void RATGDOSwitch::on_lock_state(LockState state)
{
bool value = state == LockState::LOCK_STATE_LOCKED;
this->state(value);
this->publish_state(value);
this->state = value;
this->publish_state();
}
void RATGDOSwitch::write_state(bool state)
{