From f85ae9d32be43e6fd0eef8b59cc06201a723d65c Mon Sep 17 00:00:00 2001 From: tfx2001 <2479727366@qq.com> Date: Fri, 20 Aug 2021 00:06:10 +0800 Subject: [PATCH] docs(overview) fix typo (#2465) --- docs/get-started/quick-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/get-started/quick-overview.md b/docs/get-started/quick-overview.md index aff670bb26..b2aacb21ec 100644 --- a/docs/get-started/quick-overview.md +++ b/docs/get-started/quick-overview.md @@ -40,7 +40,7 @@ lv_disp_drv_init(&disp_drv); /*Basic initialization*/ disp_drv.flush_cb = my_disp_flush; /*Set your driver function*/ disp_drv.buffer = &draw_buf; /*Assign the buffer to the display*/ disp_drv.hor_res = MY_DISP_HOR_RES; /*Set the horizontal resolution of the display*/ -disp_drv.hor_res = MY_DISP_VER_RES; /*Set the verizontal resolution of the display*/ +disp_drv.ver_res = MY_DISP_VER_RES; /*Set the verizontal resolution of the display*/ lv_disp_drv_register(&disp_drv); /*Finally register the driver*/ void my_disp_flush(lv_disp_drv_t * disp, const lv_area_t * area, lv_color_t * color_p)