Define a custom attribute to lv_flush_ready function

This commit is contained in:
mharizanov
2018-11-22 19:39:01 +02:00
committed by GitHub
parent 45cf22ebf5
commit cc801277ce

View File

@@ -152,7 +152,7 @@ void lv_vdb_set_adr(void * buf1, void * buf2)
/** /**
* Call in the display driver's 'disp_flush' function when the flushing is finished * Call in the display driver's 'disp_flush' function when the flushing is finished
*/ */
void lv_flush_ready(void) LV_ATTRIBUTE_FLUSH_READY void lv_flush_ready(void)
{ {
#if LV_VDB_DOUBLE == 0 #if LV_VDB_DOUBLE == 0
vdb_state = LV_VDB_STATE_ACTIVE; vdb_state = LV_VDB_STATE_ACTIVE;