Fix redundant call

This commit is contained in:
jacob.eva 2024-05-05 17:15:33 +01:00
parent ef00392bb8
commit 50da242f79
No known key found for this signature in database
GPG Key ID: 0B92E083BBCCAA1E

View File

@ -313,7 +313,6 @@ bool bt_setup_hw() {
Bluefruit.Security.setPairPasskeyCallback(bt_passkey_callback);
Bluefruit.Periph.setConnectCallback(bt_connect_callback);
Bluefruit.Periph.setDisconnectCallback(bt_disconnect_callback);
Bluefruit.Security.setIOCaps(true, true, false);
Bluefruit.Security.setPairCompleteCallback(bt_pairing_complete);
const ble_gap_addr_t gap_addr = Bluefruit.getAddr();
char *data = (char*)malloc(BT_DEV_ADDR_LEN+1);