drivers: lcd: use unified kernel APIs
Change-Id: Ie0d6f6e22646b23883f6b940812f93bba1789828 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
6276ca68c8
commit
36e8fc5c05
1 changed files with 2 additions and 2 deletions
|
@ -105,7 +105,7 @@ static void _rgb_reg_set(struct device * const i2c, uint8_t addr, uint8_t dta)
|
|||
|
||||
static inline void _sleep(uint32_t sleep_in_ms)
|
||||
{
|
||||
sys_thread_busy_wait(SLEEP_IN_US(sleep_in_ms));
|
||||
k_busy_wait(SLEEP_IN_US(sleep_in_ms));
|
||||
}
|
||||
|
||||
|
||||
|
@ -356,4 +356,4 @@ static struct glcd_data grove_lcd_driver = {
|
|||
|
||||
DEVICE_INIT(grove_lcd, GROVE_LCD_NAME, glcd_initialize,
|
||||
&grove_lcd_driver, &grove_lcd_config,
|
||||
NANOKERNEL, CONFIG_APPLICATION_INIT_PRIORITY);
|
||||
POST_KERNEL, CONFIG_APPLICATION_INIT_PRIORITY);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue