disp_driver: Pass pointer to lv_disp_drv_t to pcd8544_init

This commit is contained in:
C47D 2022-01-11 18:17:09 -06:00
parent 6418f805bb
commit 9b4eedd00f

View file

@ -44,7 +44,7 @@ void *disp_driver_init(lv_disp_drv_t *drv)
#elif defined CONFIG_LV_TFT_DISPLAY_CONTROLLER_ILI9163C #elif defined CONFIG_LV_TFT_DISPLAY_CONTROLLER_ILI9163C
ili9163c_init(); ili9163c_init();
#elif defined CONFIG_LV_TFT_DISPLAY_CONTROLLER_PCD8544 #elif defined CONFIG_LV_TFT_DISPLAY_CONTROLLER_PCD8544
pcd8544_init(); pcd8544_init(drv);
#endif #endif
return disp_backlight_init(); return disp_backlight_init();