]> git.tnoah.ca Git - lora-radio.git/commitdiff
Fixed missing connection handling init
authorMark Qvist <mark@unsigned.io>
Fri, 11 Oct 2024 14:35:21 +0000 (16:35 +0200)
committerMark Qvist <mark@unsigned.io>
Fri, 11 Oct 2024 14:35:21 +0000 (16:35 +0200)
Bluetooth.h

index 1888f5f9f2056a34eaed6d27a91bb320ac5088fe..660713e3abd8510c0ecde3e74d6856cf8c83f71e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2023, Mark Qvist
+// Copyright (C) 2024, Mark Qvist
 
 // This program is free software: you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -439,7 +439,7 @@ char bt_devname[11];
     bt_state = BT_STATE_CONNECTED;
     cable_state = CABLE_STATE_DISCONNECTED;
 
-    //BLEConnection* conn = Bluefruit.Connection(conn_handle);
+    BLEConnection* conn = Bluefruit.Connection(conn_handle);
     conn->requestPHY(BLE_GAP_PHY_2MBPS);
     conn->requestMtuExchange(512+3);
     conn->requestDataLengthUpdate();