mirror of
https://github.com/Smartphone-Companions/ESP32-ANCS-Notifications.git
synced 2025-01-22 11:28:29 +00:00
Update esp32notifications.cpp
This commit is contained in:
parent
30577c74b6
commit
b0f92eaaaa
@ -108,11 +108,13 @@ bool BLENotifications::begin(const char * name) {
|
||||
BLEDevice::setSecurityCallbacks(new NotificationSecurityCallbacks()); // @todo memory leak?
|
||||
|
||||
startAdvertising();
|
||||
return true;
|
||||
}
|
||||
|
||||
bool BLENotifications::stop() {
|
||||
ESP_LOGI(LOG_TAG, "stop()");
|
||||
BLEDevice::deinit(false);
|
||||
BLEDevice::deinit(false);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user