aboutsummaryrefslogtreecommitdiffstats
path: root/src/direct_bt/DBTAdapter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/direct_bt/DBTAdapter.cpp')
-rw-r--r--src/direct_bt/DBTAdapter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/direct_bt/DBTAdapter.cpp b/src/direct_bt/DBTAdapter.cpp
index 9d3bbd42..293937d8 100644
--- a/src/direct_bt/DBTAdapter.cpp
+++ b/src/direct_bt/DBTAdapter.cpp
@@ -299,12 +299,12 @@ int DBTAdapter::removeAllStatusListener() {
return count;
}
-bool DBTAdapter::startDiscovery(bool keepAlive, HCIAddressType own_mac_type,
- uint16_t interval, uint16_t window)
+bool DBTAdapter::startDiscovery(const bool keepAlive, const HCIAddressType own_mac_type,
+ const uint16_t le_scan_interval, const uint16_t le_scan_window)
{
(void)own_mac_type;
- (void)interval;
- (void)window;
+ (void)le_scan_interval;
+ (void)le_scan_window;
DBG_PRINT("DBTAdapter::startDiscovery: keepAlive %d ...", keepAlive);
removeDiscoveredDevices();