Skip to content

Commit

Permalink
Merge pull request #15515 from matkammusic/master
Browse files Browse the repository at this point in the history
Correct scan parameters types
  • Loading branch information
0xc0170 committed Jun 8, 2024
2 parents 869f0d7 + 3746f5a commit 5249bb9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions connectivity/FEATURE_BLE/include/ble/gap/ScanParameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ class ScanParameters {
/**
* Get the scan interval.
*/
const scan_window_t &getInterval() const
const scan_interval_t &getInterval() const
{
return interval;
}

/**
* Get the scan window.
*/
const scan_interval_t &getWindow() const
const scan_window_t &getWindow() const
{
return window;
}
Expand Down Expand Up @@ -121,8 +121,8 @@ class ScanParameters {
*/
ScanParameters(
phy_t phy = phy_t::LE_1M,
scan_window_t scan_interval = scan_interval_t::min(),
scan_interval_t scan_window = scan_window_t::min(),
scan_interval_t scan_interval = scan_interval_t::min(),
scan_window_t scan_window = scan_window_t::min(),
bool active_scanning = false,
own_address_type_t own_address_type = own_address_type_t::RANDOM,
scanning_filter_policy_t scanning_filter_policy = scanning_filter_policy_t::NO_FILTER
Expand Down

0 comments on commit 5249bb9

Please sign in to comment.