From a3c1345d452b7a2900d77226a645716e1aeeb4f5 Mon Sep 17 00:00:00 2001 From: paul-szczepanek-arm <33840200+paul-szczepanek-arm@users.noreply.github.com> Date: Wed, 27 Feb 2019 14:05:35 +0000 Subject: [PATCH] these consts are not in fact const --- .../stack/ble-host/sources/stack/cfg/cfg_stack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/FEATURE_BLE/targets/TARGET_CORDIO/stack/ble-host/sources/stack/cfg/cfg_stack.c b/features/FEATURE_BLE/targets/TARGET_CORDIO/stack/ble-host/sources/stack/cfg/cfg_stack.c index e0544434f4..6b82639346 100644 --- a/features/FEATURE_BLE/targets/TARGET_CORDIO/stack/ble-host/sources/stack/cfg/cfg_stack.c +++ b/features/FEATURE_BLE/targets/TARGET_CORDIO/stack/ble-host/sources/stack/cfg/cfg_stack.c @@ -67,7 +67,7 @@ l2cCfg_t *pL2cCfg = (l2cCfg_t *) &l2cCfg; #endif /* Configuration structure */ -const attCfg_t attCfg = +attCfg_t attCfg = { 15, /* ATT server service discovery connection idle timeout in seconds */ MBED_CONF_CORDIO_DESIRED_ATT_MTU, /* desired ATT MTU */ @@ -83,7 +83,7 @@ attCfg_t *pAttCfg = (attCfg_t *) &attCfg; **************************************************************************************************/ /* Configuration structure */ -const smpCfg_t smpCfg = +smpCfg_t smpCfg = { 500, /* 'Repeated attempts' timeout in msec */ SMP_IO_NO_IN_NO_OUT, /* I/O Capability */