From d372f16bc4be741bd24616722ce35946fb5847a1 Mon Sep 17 00:00:00 2001 From: paul-szczepanek-arm <33840200+paul-szczepanek-arm@users.noreply.github.com> Date: Thu, 6 Dec 2018 15:04:00 +0000 Subject: [PATCH] fix return value --- .../FEATURE_BLE/targets/TARGET_CORDIO/source/CordioPalGap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioPalGap.cpp b/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioPalGap.cpp index f2310026d6..022147577d 100644 --- a/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioPalGap.cpp +++ b/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioPalGap.cpp @@ -1022,7 +1022,7 @@ ble_error_t Gap::periodic_advertising_create_sync( sync_timeout ); - return BLE_ERROR_INVALID_PARAM; + return BLE_ERROR_NONE; } ble_error_t Gap::cancel_periodic_advertising_create_sync()