fix
This commit is contained in:
parent
c6e07d90ed
commit
92b9dc5669
|
@ -533,7 +533,7 @@ namespace ratgdo {
|
||||||
// Lock functions
|
// Lock functions
|
||||||
void RATGDOComponent::lock(){
|
void RATGDOComponent::lock(){
|
||||||
if(this->lockStates[this->store_.lockState] == "locked"){
|
if(this->lockStates[this->store_.lockState] == "locked"){
|
||||||
ESP_LOGD(TAG, ("already locked");
|
ESP_LOGD(TAG, "already locked");
|
||||||
}else{
|
}else{
|
||||||
toggleLock();
|
toggleLock();
|
||||||
}
|
}
|
||||||
|
@ -541,7 +541,7 @@ namespace ratgdo {
|
||||||
|
|
||||||
void RATGDOComponent::unlock(){
|
void RATGDOComponent::unlock(){
|
||||||
if(this->lockStates[this->store_.lockState] == "unlocked"){
|
if(this->lockStates[this->store_.lockState] == "unlocked"){
|
||||||
ESP_LOGD(TAG, ("already unlocked");
|
ESP_LOGD(TAG, "already unlocked");
|
||||||
}else{
|
}else{
|
||||||
toggleLock();
|
toggleLock();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue