Skip to content

Commit 52b0f21

Browse files
paul-szczepanek-armCruz Monrreal II
authored andcommitted
remove noreturn error function to avoid compilation issues
1 parent d9ec798 commit 52b0f21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

features/FEATURE_BLE/source/BLE.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ BLE::initImplementation(FunctionPointerWithContext<InitializationCompleteCallbac
142142

143143
// this stub is required by ARMCC otherwise link will systematically fail
144144
MBED_WEAK BLEInstanceBase* createBLEInstance() {
145-
MBED_ERROR(MBED_MAKE_ERROR(MBED_MODULE_BLE, MBED_ERROR_CODE_BLE_BACKEND_CREATION_FAILED), "Please provide an implementation for mbed BLE");
145+
MBED_ASSERT("No BLE instance implementation.");
146+
printf("Please provide an implementation for mbed BLE");
146147
return NULL;
147148
}
148149

0 commit comments

Comments
 (0)