mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
Merge pull request #2142 from andelf/fix/ws2812-led-count
Fix WS2812 with nled=1
This commit is contained in:
commit
d05b6613e9
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ class WS2812(LiteXModule):
|
||||||
|
|
||||||
|
|
||||||
# Internal Signals.
|
# Internal Signals.
|
||||||
led_count = Signal(max=nleds)
|
led_count = Signal(max=max(nleds, 2))
|
||||||
led_data = Signal(24)
|
led_data = Signal(24)
|
||||||
xfer_start = Signal()
|
xfer_start = Signal()
|
||||||
xfer_done = Signal()
|
xfer_done = Signal()
|
||||||
|
|
Loading…
Reference in a new issue