diff options
author | Sven Gothel <[email protected]> | 2021-11-04 09:52:05 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-11-04 09:52:05 +0100 |
commit | 586af00067da2e8d2ef70f25699e15952ea085a6 (patch) | |
tree | 5d16b0eeeebfe53710f0dd57212f38b4cb957ae3 /src/direct_bt/BTGattHandler.cpp | |
parent | 9cf4aee682ea6484a65af7291d6e14008d28756c (diff) |
BTDevice:: Fix dimension of stored supervisor_timeout (passed to BTGattHandler): Store in [ms] = 10 * [ms/10]
Diffstat (limited to 'src/direct_bt/BTGattHandler.cpp')
-rw-r--r-- | src/direct_bt/BTGattHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/direct_bt/BTGattHandler.cpp b/src/direct_bt/BTGattHandler.cpp index 698b9321..fcdffa1d 100644 --- a/src/direct_bt/BTGattHandler.cpp +++ b/src/direct_bt/BTGattHandler.cpp @@ -1009,7 +1009,7 @@ void BTGattHandler::l2capReaderThreadImpl() { disconnect(true /* disconnectDevice */, has_ioerror); } -BTGattHandler::BTGattHandler(const std::shared_ptr<BTDevice> &device, L2CAPComm& l2cap_att, const uint16_t supervision_timeout) noexcept +BTGattHandler::BTGattHandler(const std::shared_ptr<BTDevice> &device, L2CAPComm& l2cap_att, const int32_t supervision_timeout) noexcept : env(BTGattEnv::get()), wbr_device(device), role(device->getLocalGATTRole()), |