Skip to content

Commit

Permalink
Initialize the ring buffer indicies before using them
Browse files Browse the repository at this point in the history
  • Loading branch information
Crest committed Jun 7, 2020
1 parent 6bd744a commit 3bb6adf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bootstrap.fs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ swd cell+ dup constant swd-rx
['] swd-emit hook-emit ! ;

: init ( -- )
0 swd !
." The swd buffer address is: " swd hex. cr
72MHz swd-init ;

Expand Down

0 comments on commit 3bb6adf

Please sign in to comment.