Skip to content

Commit

Permalink
Fix BLE stop advertising not working (#3034)
Browse files Browse the repository at this point in the history
BLEAdvertising::handleGAPEvent -> ESP_GAP_BLE_ADV_STOP_COMPLETE_EVT should NOT call start()!
  • Loading branch information
beegee-tokyo authored and me-no-dev committed Aug 20, 2019
1 parent 91b9fae commit 2bda4a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/BLE/src/BLEAdvertising.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ void BLEAdvertising::handleGAPEvent(
}
case ESP_GAP_BLE_ADV_STOP_COMPLETE_EVT: {
log_i("STOP advertising");
start();
//start();
break;
}
default:
Expand Down

0 comments on commit 2bda4a9

Please sign in to comment.