Commit 9c628d8
committed
apa102: fix end frame
end frame is used to supply clock pulses
so that data goes to last LED in the chain.
Thus, it depends on the number of LEDs in
the chain.
Previously, the number of ones sent into
the end frame was hard-coded and limited
the usage of the driver to 64 LEDs in the
strip.
Signed-off-by: Cyril Fougeray <[email protected]>1 parent d4b7bf9 commit 9c628d8
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
25 | 35 | | |
26 | 36 | | |
27 | 37 | | |
| |||
0 commit comments