forked from xuos/xiuos
				
			modify the buf size
This commit is contained in:
		
							parent
							
								
									5338598158
								
							
						
					
					
						commit
						0189de57e7
					
				| 
						 | 
					@ -81,9 +81,9 @@ void lv_port_disp_init(void)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /* Example for 2) */
 | 
					    /* Example for 2) */
 | 
				
			||||||
    static lv_disp_draw_buf_t draw_buf_dsc_2;
 | 
					    static lv_disp_draw_buf_t draw_buf_dsc_2;
 | 
				
			||||||
    static lv_color_t buf_2_1[MY_DISP_HOR_RES *70];                        /*A buffer for 10 rows*/
 | 
					    static lv_color_t buf_2_1[MY_DISP_HOR_RES *10];                       /*A buffer for 10 rows*/
 | 
				
			||||||
    static lv_color_t buf_2_2[MY_DISP_HOR_RES * 70];                        /*An other buffer for 10 rows*/
 | 
					    static lv_color_t buf_2_2[MY_DISP_HOR_RES * 10];                        /*An other buffer for 10 rows*/
 | 
				
			||||||
    lv_disp_draw_buf_init(&draw_buf_dsc_2, buf_2_1, buf_2_2, MY_DISP_HOR_RES * 70);   /*Initialize the display buffer*/
 | 
					    lv_disp_draw_buf_init(&draw_buf_dsc_2, buf_2_1, buf_2_2, MY_DISP_HOR_RES * 10);   /*Initialize the display buffer*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /* Example for 3) also set disp_drv.full_refresh = 1 below*/
 | 
					    /* Example for 3) also set disp_drv.full_refresh = 1 below*/
 | 
				
			||||||
    // static lv_disp_draw_buf_t draw_buf_dsc_3;
 | 
					    // static lv_disp_draw_buf_t draw_buf_dsc_3;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue