Update locking in lm3s SPI driver

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2670 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2010-05-15 02:03:33 +00:00
parent 24074567f9
commit 6a8d761de9
2 changed files with 2 additions and 5 deletions

View File

@ -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__ */

View File

@ -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