Skip to content

Commit 2bda4a9

Browse files
beegee-tokyome-no-dev
authored andcommitted
Fix BLE stop advertising not working (#3034)
BLEAdvertising::handleGAPEvent -> ESP_GAP_BLE_ADV_STOP_COMPLETE_EVT should NOT call start()!
1 parent 91b9fae commit 2bda4a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/BLE/src/BLEAdvertising.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ void BLEAdvertising::handleGAPEvent(
505505
}
506506
case ESP_GAP_BLE_ADV_STOP_COMPLETE_EVT: {
507507
log_i("STOP advertising");
508-
start();
508+
//start();
509509
break;
510510
}
511511
default:

0 commit comments

Comments
 (0)