We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f74e3c commit bf57ae0Copy full SHA for bf57ae0
src/machine/buffer.go
@@ -8,10 +8,6 @@ const bufferSize = 128
8
9
// RingBuffer is ring buffer implementation inspired by post at
10
// 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.
15
type RingBuffer struct {
16
rxbuffer [bufferSize]volatile.Register8
17
head volatile.Register8
0 commit comments