mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 11:22:24 +01:00
preen
This commit is contained in:
@@ -155,7 +155,7 @@ void ESP32BLETracker::loop() {
|
|||||||
https://github.com/espressif/esp-idf/issues/6688
|
https://github.com/espressif/esp-idf/issues/6688
|
||||||
|
|
||||||
*/
|
*/
|
||||||
bool promote_to_connecting = counts.discovered && !counts.searching && !counts.connecting;
|
bool promote_to_connecting = counts.discovered && !counts.connecting;
|
||||||
|
|
||||||
if (this->scanner_state_ == ScannerState::IDLE && !counts.connecting && !counts.disconnecting &&
|
if (this->scanner_state_ == ScannerState::IDLE && !counts.connecting && !counts.disconnecting &&
|
||||||
!promote_to_connecting) {
|
!promote_to_connecting) {
|
||||||
|
Reference in New Issue
Block a user