diff --git a/connectivity/FEATURE_BLE/include/ble/gap/ScanParameters.h b/connectivity/FEATURE_BLE/include/ble/gap/ScanParameters.h index 1852cff8b00..5628c8967b3 100644 --- a/connectivity/FEATURE_BLE/include/ble/gap/ScanParameters.h +++ b/connectivity/FEATURE_BLE/include/ble/gap/ScanParameters.h @@ -82,7 +82,7 @@ class ScanParameters { /** * Get the scan interval. */ - const scan_window_t &getInterval() const + const scan_interval_t &getInterval() const { return interval; } @@ -90,7 +90,7 @@ class ScanParameters { /** * Get the scan window. */ - const scan_interval_t &getWindow() const + const scan_window_t &getWindow() const { return window; }