From f13318df604db0acd400972988c6d48cb3733842 Mon Sep 17 00:00:00 2001 From: paul-szczepanek-arm <33840200+paul-szczepanek-arm@users.noreply.github.com> Date: Tue, 16 Jul 2019 13:49:20 +0100 Subject: [PATCH] make event signal weak so it can be overridden --- features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.cpp b/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.cpp index 94a6a97e36..ac4ea299ea 100644 --- a/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.cpp +++ b/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.cpp @@ -80,7 +80,7 @@ extern "C" void hci_mbed_os_handle_reset_sequence(uint8_t* msg) * This function will signal to the user code by calling signalEventsToProcess. * It is registered and called into the Wsf Stack. */ -extern "C" void wsf_mbed_ble_signal_event(void) +MBED_WEAK extern "C" void wsf_mbed_ble_signal_event(void) { ble::vendor::cordio::BLE::deviceInstance().signalEventsToProcess(::BLE::DEFAULT_INSTANCE); }