Merge pull request #86 from ropg/fix_for_v7
disp_spi.c: Now works with v7 and v8
This commit is contained in:
commit
b3515c4832
|
@ -310,7 +310,12 @@ static void IRAM_ATTR spi_ready(spi_transaction_t *trans)
|
|||
disp = lv_refr_get_disp_refreshing();
|
||||
#endif
|
||||
|
||||
#if LVGL_VERSION_MAJOR < 8
|
||||
lv_disp_flush_ready(&disp->driver);
|
||||
#else
|
||||
lv_disp_flush_ready(disp->driver);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
if (chained_post_cb) {
|
||||
|
|
Loading…
Reference in a new issue