STM32F1 assert in SetSysClock replaced

pull/7775/head
jeromecoutant 2018-08-13 15:04:02 +02:00
parent 76356039d9
commit dc02be705a
1 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@
*/
#include "stm32f1xx.h"
#include "mbed_assert.h"
#include "mbed_error.h"
/*!< Uncomment the following line if you need to relocate your vector Table in
Internal SRAM. */
@ -145,8 +145,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_HSI() == 0)
#endif
{
while(1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}