Skip to content

A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol

minor fix for bt service

Geof5ad05caa477
diff --git a/src/Services/BluetoothService.cpp b/src/Services/BluetoothService.cpp
index 58d3472f..2d78c41a 100644
--- a/src/Services/BluetoothService.cpp
+++ b/src/Services/BluetoothService.cpp
@@ -172,7 +172,7 @@ void BluetoothService::switchToMode(BluetoothMode newMode) {
if (mode == newMode) return;
if (mode == BluetoothMode::SERVER || mode == BluetoothMode::CLIENT) {
- BLEDevice::deinit(true);
+ end();
}
// Init pour le nouveau mode