minor fixes

This commit is contained in:
Gabor Kiss-Vamosi
2021-03-01 12:04:19 +01:00
parent 2f0443b803
commit 16b9e3fd96
2 changed files with 8 additions and 2 deletions

View File

@@ -39,6 +39,11 @@ void lv_indev_read_task_cb(lv_timer_t * task);
/**********************
* MACROS
**********************/
#if LV_LOG_TRACE_INDEV
# define INDEV_TRACE(...) LV_LOG_TRACE( __VA_ARGS__)
#else
# define INDEV_TRACE(...)
#endif
/**********************
* GLOBAL FUNCTIONS
@@ -151,7 +156,7 @@ bool _lv_indev_read(lv_indev_t * indev, lv_indev_data_t * data)
}
if(indev->driver.read_cb) {
LV_LOG_TRACE("calling indev_read_cb");
INDEV_TRACE("calling indev_read_cb");
cont = indev->driver.read_cb(&indev->driver, data);
}
else {