Skip to content

Commit d9ec798

Browse files
paul-szczepanek-armCruz Monrreal II
authored andcommitted
fixed ARM compilation problem caused by noreturn
1 parent 70d5884 commit d9ec798

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ wsfHandlerId_t stack_handler_id;
4848
*/
4949
MBED_WEAK ble::vendor::cordio::CordioHCIDriver& ble_cordio_get_hci_driver()
5050
{
51-
error("Please provide an implementation for the HCI driver");
51+
MBED_ASSERT("No HCI driver");
52+
printf("Please provide an implementation for the HCI driver");
5253
ble::vendor::cordio::CordioHCIDriver* bad_instance = NULL;
5354
return *bad_instance;
5455
}

0 commit comments

Comments
 (0)