Skip to content

Commit 79d9f5e

Browse files
sohaiberrabiiwhitequark
authored andcommitted
docs._code: led to led.o
1 parent 9201cc3 commit 79d9f5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_code/led_blinker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def elaborate(self, platform):
1111
timer = Signal(range(half_freq + 1))
1212

1313
with m.If(timer == half_freq):
14-
m.d.sync += led.eq(~led)
14+
m.d.sync += led.o.eq(~led.o)
1515
m.d.sync += timer.eq(0)
1616
with m.Else():
1717
m.d.sync += timer.eq(timer + 1)

0 commit comments

Comments
 (0)