1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/stm32: adapt ltdc periph disp_dev interface

This commit is contained in:
Alexandre Abadie 2022-04-12 14:32:48 +02:00
parent 36211f3fae
commit eb6afbba98
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -212,11 +212,10 @@ void ltdc_fill(uint16_t x1, uint16_t x2, uint16_t y1, uint16_t y2, const uint16_
}
#if IS_USED(MODULE_DISP_DEV)
static void _ltdc_map(const disp_dev_t *disp_dev, uint16_t x1, uint16_t x2,
uint16_t y1, uint16_t y2, const uint16_t *color)
static void _ltdc_map(const disp_dev_t *disp_dev, const disp_dev_area_t *area, const uint16_t *color)
{
(void)disp_dev;
ltdc_map(x1, x2, y1, y2, color);
ltdc_map(area->x1, area->x2, area->y1, area->y2, color);
}
static uint16_t _ltdc_height(const disp_dev_t *disp_dev)