Update references to LV_DISPLAY_WIDTH

This commit is contained in:
C47D 2021-01-09 15:04:53 -06:00
parent 6a451cacf7
commit 55c314b685
9 changed files with 24 additions and 25 deletions

View file

@ -193,8 +193,8 @@ void ssd1306_rounder(struct _disp_drv_t * disp_drv, lv_area_t *area)
// workaround: always send complete size display buffer
area->x1 = 0;
area->y1 = 0;
area->x2 = CONFIG_LV_DISPLAY_WIDTH-1;
area->y2 = CONFIG_LV_DISPLAY_HEIGHT-1;
area->x2 = LV_HOR_RES_MAX-1;
area->y2 = LV_VER_RES_MAX-1;
}
void ssd1306_sleep_in()