fix(disp_driver): Update disp_driver_init API signature

The signature was changed when I was rebasing master into this branch, this commit fixes it :)
This commit is contained in:
C47D 2021-09-09 18:10:10 -05:00
parent 2134cdcfb5
commit 9b1e3d1198
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@
#include "esp_lcd_backlight.h"
#include "sdkconfig.h"
void disp_driver_init(lv_disp_drv_t *drv)
void *disp_driver_init(lv_disp_drv_t *drv)
{
#if defined CONFIG_LV_TFT_DISPLAY_CONTROLLER_ILI9341
ili9341_init();

View file

@ -67,7 +67,7 @@ extern "C" {
**********************/
/* Initialize display */
void disp_driver_init(lv_disp_drv_t *drv);
void *disp_driver_init(lv_disp_drv_t *drv);
/* Display flush callback */
void disp_driver_flush(lv_disp_drv_t * drv, const lv_area_t * area, lv_color_t * color_map);