remove noreturn error function to avoid compilation issues

pull/9064/head
paul-szczepanek-arm 2018-12-10 13:54:09 +00:00 committed by Cruz Monrreal II
parent d9ec798f67
commit 52b0f21720
1 changed files with 2 additions and 1 deletions

View File

@ -142,7 +142,8 @@ BLE::initImplementation(FunctionPointerWithContext<InitializationCompleteCallbac
// this stub is required by ARMCC otherwise link will systematically fail
MBED_WEAK BLEInstanceBase* createBLEInstance() {
MBED_ERROR(MBED_MAKE_ERROR(MBED_MODULE_BLE, MBED_ERROR_CODE_BLE_BACKEND_CREATION_FAILED), "Please provide an implementation for mbed BLE");
MBED_ASSERT("No BLE instance implementation.");
printf("Please provide an implementation for mbed BLE");
return NULL;
}