From b0f92eaaaa29ca4c55ffbe139474a548fa8319da Mon Sep 17 00:00:00 2001 From: Matthew Date: Thu, 27 Apr 2023 00:56:00 +0200 Subject: [PATCH] Update esp32notifications.cpp --- src/esp32notifications.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/esp32notifications.cpp b/src/esp32notifications.cpp index 4a6bd07..5cb58bf 100644 --- a/src/esp32notifications.cpp +++ b/src/esp32notifications.cpp @@ -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; }