mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 19:32:19 +01:00
Merge branch 'open_error_fix' into integration
This commit is contained in:
@@ -159,7 +159,8 @@ void BLEClientBase::disconnect() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this->state_ == espbt::ClientState::CONNECTING || this->conn_id_ == UNSET_CONN_ID) {
|
if (this->state_ == espbt::ClientState::CONNECTING || this->conn_id_ == UNSET_CONN_ID) {
|
||||||
this->log_warning_("Disconnect before connected, disconnect scheduled.");
|
ESP_LOGD(TAG, "[%d] [%s] Disconnect before connected, disconnect scheduled", this->connection_index_,
|
||||||
|
this->address_str_.c_str());
|
||||||
this->want_disconnect_ = true;
|
this->want_disconnect_ = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user