Commit 675c4db
committed
LED_matrix: move _sequenceDone = true out of if block
Currently if you write a sketch that relies on knowing when a sequence completes, by having
your code call sequenceDone(), this will only work if your sketch sets a non-null callback function,
as the code that sets the condition is currently in the if block:
```
if(_callBack != nullptr){
```
Simply moved the line to after the if block1 parent 80faaf8 commit 675c4db
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
179 | 178 | | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
0 commit comments