grove/lcd: fix init level due to dependence on system clock

The Grove LCD driver requires running clock for delay. Since the clock
is only initialized in NANOKERNEL, so change the LCD driver init level
so that it starts after clock is initialized.

Change-Id: I6a2cadac1b34f95557f99c78615b1bd4aee541f5
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2015-11-30 15:57:11 -08:00 committed by Anas Nashif
commit 960229468a

View file

@ -358,5 +358,5 @@ DECLARE_DEVICE_INIT_CONFIG(grove_lcd,
glcd_initialize,
&grove_lcd_config);
SYS_DEFINE_DEVICE(grove_lcd, &grove_lcd_driver, SECONDARY,
SYS_DEFINE_DEVICE(grove_lcd, &grove_lcd_driver, NANOKERNEL,
CONFIG_GROVE_LCD_RGB_INIT_PRIORITY);