STM32L0 assert in SetSysClock replaced

pull/7775/head
jeromecoutant 2018-08-13 15:55:51 +02:00
parent 749343f695
commit 220d033468
7 changed files with 21 additions and 21 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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