fixed ARM compilation problem caused by noreturn

pull/8998/head
paul-szczepanek-arm 2018-12-10 13:47:14 +00:00
parent 97df8f5ed9
commit c998287170
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,8 @@ wsfHandlerId_t stack_handler_id;
*/
MBED_WEAK ble::vendor::cordio::CordioHCIDriver& ble_cordio_get_hci_driver()
{
error("Please provide an implementation for the HCI driver");
MBED_ASSERT("No HCI driver");
printf("Please provide an implementation for the HCI driver");
ble::vendor::cordio::CordioHCIDriver* bad_instance = NULL;
return *bad_instance;
}