Fix BLE stop advertising not working (#3034)

BLEAdvertising::handleGAPEvent -> ESP_GAP_BLE_ADV_STOP_COMPLETE_EVT should NOT call start()!
This commit is contained in:
Bernd Giesecke 2019-08-20 21:44:50 +08:00 committed by Me No Dev
parent 91b9fae111
commit 2bda4a9617

View File

@ -505,7 +505,7 @@ void BLEAdvertising::handleGAPEvent(
}
case ESP_GAP_BLE_ADV_STOP_COMPLETE_EVT: {
log_i("STOP advertising");
start();
//start();
break;
}
default: