fix: 对不支持weak的bsp, luat_http_client_onevent报重复定义了
[LuatOS.git] / components / lcd / luat_lcd_gc9106l.c
blobbffc2f3c6177e9933a62093792ea0776c0c9f2fb
1 #include "luat_base.h"
2 #include "luat_lcd.h"
4 #define LUAT_LOG_TAG "gc9106l"
5 #include "luat_log.h"
7 static const uint16_t gc9106l_init_cmds[] = {
8 //------------------------------------gc9106lS Frame Rate-----------------------------------------//
9 0x02FE,
10 0x02EF,
11 0x02B3,0x0303,
12 0x0221,
13 0x023A,0x0305,
14 0x02B4,0x0321,
15 0x02F0,0x032D,0x0354,0x0324,0x0361,0x03AB,0x032E,0x032F,0x0300,0x0320,0x0310,0x0310,0x0317,0x0313,0x030F,
16 0x02F1,0x0302,0x0322,0x0325,0x0335,0x03A8,0x0308,0x0308,0x0300,0x0300,0x0309,0x0309,0x0317,0x0318,0x030F,
17 0x02FE,
18 0x02FF,
22 luat_lcd_opts_t lcd_opts_gc9106l = {
23 .name = "gc9106l",
24 .init_cmds_len = sizeof(gc9106l_init_cmds)/sizeof(gc9106l_init_cmds[0]),
25 .init_cmds = gc9106l_init_cmds,
26 .direction0 = 0xC8,
27 .direction90 = 0x08,
28 .direction180 = 0x68,
29 .direction270 = 0xA8