Skip to content

Commit d5022ca

Browse files
committed
next try
1 parent d3e8923 commit d5022ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/dmdreader.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,8 @@ void dmd_set_and_enable_new_dma_target() {
503503
*
504504
*/
505505
void dmd_dma_handler() {
506+
digitalWrite(LED_BUILTIN, HIGH);
507+
506508
dmd_set_and_enable_new_dma_target();
507509

508510
if (skip_frames > 0) {
@@ -564,7 +566,6 @@ void dmd_dma_handler() {
564566
// trigger the same correction.
565567
skip_frames = 1;
566568
// Do not switch buffers and return here. The DMD should show something.
567-
digitalWrite(LED_BUILTIN, HIGH);
568569
}
569570
}
570571

0 commit comments

Comments
 (0)