diff --git a/features/FEATURE_BLE/ble/gap/Gap.h b/features/FEATURE_BLE/ble/gap/Gap.h index 2ff90d6843..7236979b98 100644 --- a/features/FEATURE_BLE/ble/gap/Gap.h +++ b/features/FEATURE_BLE/ble/gap/Gap.h @@ -52,7 +52,7 @@ public: * * @param event Advertising report @see AdvertisingReportEvent_t for details. */ - void onAdvertisingReport(const AdvertisingReportEvent &event) { } + virtual void onAdvertisingReport(const AdvertisingReportEvent &event) { } /** Called when scan times out. */