From a4b77cfb1c4542875fdebc734cd4bfa37778c459 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 24 Nov 2014 11:29:22 -0600 Subject: [PATCH] =?UTF-8?q?Nucleo=20F4x1RE:=20Typos=20in=20previously=20un?= =?UTF-8?q?tested=20code.=20message()=20does=20not=20exist,=20return=20val?= =?UTF-8?q?ue=20from=20void=20function,=20missing=20inclusion=20of=20errno?= =?UTF-8?q?.h.=20=20From=20S=C3=A9bastien=20Lorquet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configs/nucleo-f4x1re/src/stm32_spi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/nucleo-f4x1re/src/stm32_spi.c b/configs/nucleo-f4x1re/src/stm32_spi.c index b080169034f..70571dc9354 100644 --- a/configs/nucleo-f4x1re/src/stm32_spi.c +++ b/configs/nucleo-f4x1re/src/stm32_spi.c @@ -42,6 +42,7 @@ #include #include #include +#include #include #include @@ -110,8 +111,7 @@ void weak_function stm32_spiinitialize(void) g_spi1 = up_spiinitialize(1); if (!g_spi1) { - message("[boot] FAILED to initialize SPI port 1\n"); - return -ENODEV; + spidbg("[boot] FAILED to initialize SPI port 1\n"); } #ifdef CONFIG_WL_CC3000