From 6a8d761de9474d86767719404011ecbddad403ab Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 15 May 2010 02:03:33 +0000 Subject: [PATCH] Update locking in lm3s SPI driver git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2670 42af7a65-404d-4744-a932-0658087f49c3 --- configs/lm3s6965-ek/src/lm3s6965ek_internal.h | 2 +- configs/lm3s6965-ek/src/up_boot.c | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/configs/lm3s6965-ek/src/lm3s6965ek_internal.h b/configs/lm3s6965-ek/src/lm3s6965ek_internal.h index 07a0aa3fea..17a791ea4a 100755 --- a/configs/lm3s6965-ek/src/lm3s6965ek_internal.h +++ b/configs/lm3s6965-ek/src/lm3s6965ek_internal.h @@ -135,7 +135,7 @@ extern void weak_function lm3s_ssiinitialize(void); ************************************************************************************/ #ifdef CONFIG_NX_LCDDRIVER -extern void weak_function lm3s_oledinitialize(void); +extern void lm3s_oledinitialize(void); #endif #endif /* __ASSEMBLY__ */ diff --git a/configs/lm3s6965-ek/src/up_boot.c b/configs/lm3s6965-ek/src/up_boot.c index 3e8f54fbf1..d4ab263d58 100755 --- a/configs/lm3s6965-ek/src/up_boot.c +++ b/configs/lm3s6965-ek/src/up_boot.c @@ -85,10 +85,7 @@ void lm3s_boardinitialize(void) /* Configure the OLED for use */ #ifdef CONFIG_NX_LCDDRIVER - if (lm3s_oledinitialize) - { - lm3s_oledinitialize(); - } + lm3s_oledinitialize(); #endif #endif