Skip to content

Commit 9a63d63

Browse files
authored
Merge pull request #42 from KurtE/led_matrix_sequence_done
LED_matrix: move _sequenceDone = true out of if block
2 parents 0e93139 + 675c4db commit 9a63d63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: libraries/Arduino_LED_Matrix/src/Arduino_LED_Matrix.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ class ArduinoLEDMatrix {
175175
}
176176
if(_callBack != nullptr){
177177
_callBack();
178-
_sequenceDone = true;
179178
}
179+
_sequenceDone = true;
180180
}
181181
memcpy(framebuffer, (uint32_t*)frame, sizeof(frame));
182182
}

0 commit comments

Comments
 (0)