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:
parent
24074567f9
commit
6a8d761de9
@ -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__ */
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user