This commit is contained in:
J. Nick Koston 2023-06-09 15:59:18 -05:00
parent f8262a0cfa
commit 8860cc28aa
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

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