Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spin/packet_driver.spin
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ PUB startx(mbox, rxpin, txpin, mode, baudrate, rxsiz, txsiz, buffs) : okay
stopx(mbox)

' compute the ticks per bit from the baudrate
baudrate := clkfreq / baudrate
bitticks := clkfreq / baudrate

' start the driver cog
okay := long[mbox][4] := cognew(@entry, @mbox) + 1
Expand Down