diff options
author | Sven Gothel <[email protected]> | 2021-02-09 06:19:36 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-02-09 06:19:36 +0100 |
commit | 8f3989d2490fbb06635d4c3ccc84866024ac81a9 (patch) | |
tree | 12127853185f9fcdbf264a936607498bd855ce67 /src/direct_bt | |
parent | c20900d97d4793d728ca5f4089b73d3fff5f912c (diff) |
BTDevice: Fix ERR_PRINT(..) argument
Diffstat (limited to 'src/direct_bt')
-rw-r--r-- | src/direct_bt/BTDevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/direct_bt/BTDevice.cpp b/src/direct_bt/BTDevice.cpp index c48459eb..3a6e3592 100644 --- a/src/direct_bt/BTDevice.cpp +++ b/src/direct_bt/BTDevice.cpp @@ -440,7 +440,7 @@ HCIStatusCode BTDevice::connectLE(uint16_t le_scan_interval, uint16_t le_scan_wi if( hci.env.HCI_COMMAND_COMPLETE_REPLY_TIMEOUT <= td_disconnect ) { // timeout ERR_PRINT("DBTDevice::connectLE: SEC AUTO.%d.4 Timeout Disconnect td_pairing %d ms: %s", - smp_auto_count, std::to_string(td_disconnect), toString(false).c_str()); + smp_auto_count, td_disconnect, toString(false).c_str()); pairing_data.ioCap_auto = SMPIOCapability::UNSET; statusConnect = HCIStatusCode::INTERNAL_TIMEOUT; adapter.unlockConnect(*this); |