| 43 | } |
| 44 | |
| 45 | void BLE_API::end() { |
| 46 | battery_service.end(); |
| 47 | serial_service.end(); |
| 48 | #if defined(CONFIG_IDF_TARGET_ESP32C5) |
| 49 | esp_bt_controller_deinit(); |
| 50 | #else |
| 51 | BLEDevice::deinit(); |
| 52 | #endif |
| 53 | serialDevice = &USBserial; |
| 54 | } |
| 55 | #endif |
no outgoing calls
no test coverage detected