From 2c6fb8677428e37a300c47d62d30adb2e0b349f6 Mon Sep 17 00:00:00 2001
From: smlng <s@mlng.net>
Date: Wed, 5 Jul 2017 15:50:32 +0200
Subject: [PATCH] board, nucleo32-l031: fix board_init

---
 boards/nucleo32-l031/board.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/boards/nucleo32-l031/board.c b/boards/nucleo32-l031/board.c
index bca66665f2..e9dd918157 100644
--- a/boards/nucleo32-l031/board.c
+++ b/boards/nucleo32-l031/board.c
@@ -26,8 +26,8 @@
 
 void board_init(void)
 {
-    /* initialize the boards LED */
-    gpio_init(LED0_PIN, GPIO_OUT);
+    /* initialize the CPU */
+    cpu_init();
 
 #ifdef AUTO_INIT_LED0
     /* The LED pin is also used for SPI, so we enable it
-- 
GitLab