light
This commit is contained in:
parent
dbf74506b3
commit
1baeff1b0c
|
@ -31,9 +31,9 @@ namespace ratgdo {
|
||||||
bool binary;
|
bool binary;
|
||||||
state->current_values_as_binary(&binary);
|
state->current_values_as_binary(&binary);
|
||||||
if (binary) {
|
if (binary) {
|
||||||
this->parent_->turnOnLight();
|
this->parent_->lightOn();
|
||||||
} else {
|
} else {
|
||||||
this->parent_->turnOffLight();
|
this->parent_->lightOff();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue