4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-17 05:43:31 +08:00
Willian Chan 07ec9ec64c [BSP][STM32][F469-DISCO]Add lcd drivers
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-04-22 16:04:26 +08:00

29 lines
497 B
C

/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2018-06-12 Tanek first version
*/
#include <rtthread.h>
#if defined(PKG_USING_GUIENGINE)
#include <rtgui/driver.h>
int lcd_init(void)
{
struct rt_device *device;
device = rt_device_find("lcd");
if (device)
{
rtgui_graphic_set_device(device);
}
return 0;
}
INIT_ENV_EXPORT(lcd_init);
#endif