summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorliqiwen <[email protected]>2021-10-27 14:09:17 +0800
committerliqiwen <[email protected]>2021-10-27 14:09:17 +0800
commitb0643769937d97e77d2eabf9f80e5a0e3e30d080 (patch)
tree630b8cd19ea13f0e78566fcbefb52ca503247ee0 /bsp
parent316cbd33face161ee810c126b9c23a2f053e6f7f (diff)
去掉bsp/k210 lcd_init函数的static修饰
Diffstat (limited to 'bsp')
-rw-r--r--bsp/k210/driver/drv_lcd.h2
-rw-r--r--bsp/k210/driver/drv_mpylcd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bsp/k210/driver/drv_lcd.h b/bsp/k210/driver/drv_lcd.h
index 0c2fbc93af..76a58df3a1 100644
--- a/bsp/k210/driver/drv_lcd.h
+++ b/bsp/k210/driver/drv_lcd.h
@@ -58,7 +58,7 @@ void lcd_draw_rectangle(int x1, int y1, int x2, int y2);
void lcd_draw_circle(int x1, int y1, int r);
void lcd_set_color(int back, int fore);
void lcd_show_image(int x, int y, int length, int wide, const unsigned char *buf);
-
+int lcd_init(void);
void lcd_set_direction(lcd_dir_t dir);
#endif
diff --git a/bsp/k210/driver/drv_mpylcd.c b/bsp/k210/driver/drv_mpylcd.c
index 0b7ab8b323..f7665e1c9e 100644
--- a/bsp/k210/driver/drv_mpylcd.c
+++ b/bsp/k210/driver/drv_mpylcd.c
@@ -12,7 +12,7 @@ static struct rt_device_graphic_info info;
static uint16_t fcolor = WHITE;
static int bcolor = BLACK;
-static int lcd_init(void)
+int lcd_init(void)
{
int result;