From f60c2c9aa8d917315db44307d6b4e0bcd84122eb Mon Sep 17 00:00:00 2001 From: Steve Cartmell Date: Wed, 21 Nov 2018 17:51:04 +0000 Subject: [PATCH] fix(pan-cordio): Increase the maximum number of supported WSF handlers NRF52480 fails to complete BLE initialisation due to attempting to set more event handlers than are supported by the WSF library. Increasing the number of handlers fixes this issue. --- .../targets/TARGET_CORDIO/stack/mbed_os_adaptation/wsf_os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/FEATURE_BLE/targets/TARGET_CORDIO/stack/mbed_os_adaptation/wsf_os.c b/features/FEATURE_BLE/targets/TARGET_CORDIO/stack/mbed_os_adaptation/wsf_os.c index 5677c0cc0d..321d8b4912 100644 --- a/features/FEATURE_BLE/targets/TARGET_CORDIO/stack/mbed_os_adaptation/wsf_os.c +++ b/features/FEATURE_BLE/targets/TARGET_CORDIO/stack/mbed_os_adaptation/wsf_os.c @@ -49,7 +49,7 @@ WSF_CT_ASSERT(sizeof(uint32_t) == 4); /* maximum number of event handlers per task */ #ifndef WSF_MAX_HANDLERS -#define WSF_MAX_HANDLERS 9 +#define WSF_MAX_HANDLERS 10 #endif #if WSF_OS_DIAG == TRUE