mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
fix(driver) Compiler errors
This commit is contained in:
parent
9b17008739
commit
6fd9811e77
@ -46,9 +46,6 @@ IRAM_ATTR void touch_read(lv_indev_drv_t* indev_driver, lv_indev_data_t* data)
|
||||
} else {
|
||||
data->state = LV_INDEV_STATE_REL;
|
||||
}
|
||||
|
||||
/*Return `false` because we are not buffering and no more data to read*/
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline void FT6336U_drv_init()
|
||||
|
@ -188,8 +188,8 @@ void guiSetup()
|
||||
|
||||
static lv_disp_drv_t disp_drv;
|
||||
lv_disp_drv_init(&disp_drv);
|
||||
disp_drv.buffer = &disp_buf;
|
||||
disp_drv->flush_cb = gui_flush_cb;
|
||||
disp_drv.draw_buf = &disp_buf;
|
||||
disp_drv.flush_cb = gui_flush_cb;
|
||||
|
||||
if(gui_settings.rotation % 2) {
|
||||
disp_drv.hor_res = tft_height;
|
||||
|
Loading…
x
Reference in New Issue
Block a user