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:
parent
2134cdcfb5
commit
9b1e3d1198
|
@ -7,7 +7,7 @@
|
||||||
#include "esp_lcd_backlight.h"
|
#include "esp_lcd_backlight.h"
|
||||||
#include "sdkconfig.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
|
#if defined CONFIG_LV_TFT_DISPLAY_CONTROLLER_ILI9341
|
||||||
ili9341_init();
|
ili9341_init();
|
||||||
|
|
|
@ -67,7 +67,7 @@ extern "C" {
|
||||||
**********************/
|
**********************/
|
||||||
|
|
||||||
/* Initialize display */
|
/* Initialize display */
|
||||||
void disp_driver_init(lv_disp_drv_t *drv);
|
void *disp_driver_init(lv_disp_drv_t *drv);
|
||||||
|
|
||||||
/* Display flush callback */
|
/* Display flush callback */
|
||||||
void disp_driver_flush(lv_disp_drv_t * drv, const lv_area_t * area, lv_color_t * color_map);
|
void disp_driver_flush(lv_disp_drv_t * drv, const lv_area_t * area, lv_color_t * color_map);
|
||||||
|
|
Loading…
Reference in a new issue