Skip to content

Commit bf57ae0

Browse files
aykevldeadprogram
authored andcommitted
machine: remove old comment on volatile behavior
The volatile pragma has long since been replaced by builtins, so this commentis now outdated.
1 parent 3f74e3c commit bf57ae0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/machine/buffer.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ const bufferSize = 128
88

99
// RingBuffer is ring buffer implementation inspired by post at
1010
// https://www.embeddedrelated.com/showthread/comp.arch.embedded/77084-1.php
11-
//
12-
// It has some limitations currently due to how "volatile" variables that are
13-
// members of a struct are not compiled correctly by TinyGo.
14-
// See https://github.com/tinygo-org/tinygo/issues/151 for details.
1511
type RingBuffer struct {
1612
rxbuffer [bufferSize]volatile.Register8
1713
head volatile.Register8

0 commit comments

Comments
 (0)