Skip to content

Commit

Permalink
examples/f030-demo-board/morseled: Smal change.
Browse files Browse the repository at this point in the history
  • Loading branch information
michalderkacz committed Apr 14, 2018
1 parent a2cd19d commit 546ea2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions egpath/src/stm32/examples/f030-demo-board/morseled/main.go
Expand Up @@ -48,9 +48,9 @@ func (t Telegraph) Write(s []byte) (int, error) {
}

func main() {
mt := &MorseWriter{Telegraph{led, 100}}
telegraph := &MorseWriter{Telegraph{led, 100}}
for {
io.WriteString(mt, "Hello, World! ")
io.WriteString(telegraph, "Hello, World! ")
}
}

Expand Down

0 comments on commit 546ea2b

Please sign in to comment.