indev/disp cb: pass driver as first argument

This commit is contained in:
Gabor Kiss-Vamosi
2019-02-24 21:20:51 +01:00
parent 9264cd9d56
commit 054e43e6e9
6 changed files with 31 additions and 27 deletions

View File

@@ -113,7 +113,7 @@ bool lv_indev_read(lv_indev_t * indev, lv_indev_data_t * data)
if(indev->driver.read_cb) {
LV_LOG_TRACE("idnev read started");
cont = indev->driver.read_cb(indev, data);
cont = indev->driver.read_cb(&indev->driver, data);
LV_LOG_TRACE("idnev read finished");
} else {
LV_LOG_WARN("indev function registered");