Skip to content

Commit 94316b2

Browse files
video: allow other thread to execute while waiting for screen refresh
1 parent 0872171 commit 94316b2

File tree

1 file changed

+1
-0
lines changed
  • libraries/Arduino_H7_Video/src

1 file changed

+1
-0
lines changed

libraries/Arduino_H7_Video/src/dsi.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ void dsi_drawCurrentFrameBuffer(void) {
335335

336336
while(reloadLTDC_status == 0) {
337337
/* Wait till reload takes effect */
338+
delay(1);
338339
}
339340
}
340341

0 commit comments

Comments
 (0)