Skip to content

Commit

Permalink
add:1:支持nv3037, 2:luat service增加适配接口
Browse files Browse the repository at this point in the history
  • Loading branch information
doudouladou committed Jan 29, 2024
1 parent 9888fa1 commit d2082db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/lcd/luat_lcd.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ int luat_lcd_set_direction(luat_lcd_conf_t* conf, uint8_t direction);
void luat_lcd_service_init(uint32_t pro);
void luat_lcd_service_run(void *api, void *data, uint32_t param, uint32_t timeout);
int luat_lcd_service_draw(luat_lcd_conf_t* conf, int16_t x1, int16_t y1, int16_t x2, int16_t y2, luat_color_t *data, uint8_t is_static_buf);
int luat_lcd_service_set_mem_type(uint8_t type);
uint32_t luat_lcd_service_cache_len(void);
void luat_lcd_IF_init(luat_lcd_conf_t* conf);
int luat_lcd_IF_write_cmd_data(luat_lcd_conf_t* conf,const uint8_t cmd, const uint8_t *data, uint8_t data_len);
Expand Down
1 change: 1 addition & 0 deletions components/lcd/luat_lib_lcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ static const lcd_reg_t lcd_regs[] = {
{"gc9306", &lcd_opts_gc9306x}, //gc9306是gc9306x的别名
{"ili9341", &lcd_opts_ili9341},
{"ili9486", &lcd_opts_ili9486},
{"nv3037", &lcd_opts_nv3037},
{"", NULL} // 最后一个必须是空字符串
};

Expand Down

0 comments on commit d2082db

Please sign in to comment.