From d836841e0f1420806df385297c8a9e33f11ad8cb Mon Sep 17 00:00:00 2001 From: Vincent Coubard Date: Tue, 6 Nov 2018 14:48:57 +0000 Subject: [PATCH] Add missing pure qualifier to PAL GAP APIs. --- features/FEATURE_BLE/ble/pal/PalGap.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features/FEATURE_BLE/ble/pal/PalGap.h b/features/FEATURE_BLE/ble/pal/PalGap.h index f9000d3073..e9e1eb17cc 100644 --- a/features/FEATURE_BLE/ble/pal/PalGap.h +++ b/features/FEATURE_BLE/ble/pal/PalGap.h @@ -573,7 +573,7 @@ struct Gap { bool minimize_fragmentation, uint8_t advertising_data_size, const uint8_t *advertising_data - ); + ) = 0; /** * Set the data used in periodic advertising PDUs. @@ -660,7 +660,7 @@ struct Gap { bool minimize_fragmentation, uint8_t scan_response_data_size, const uint8_t *scan_response_data - ); + ) = 0; /** * Start or stop advertising. @@ -789,7 +789,7 @@ struct Gap { * @note: See Bluetooth 5 Vol 2 PartE: 7.8.58 LE number of supported * advertising sets command. */ - virtual uint8_t get_max_number_of_advertising_sets(); + virtual uint8_t get_max_number_of_advertising_sets() = 0; /** * Remove an advertising set from the controller.