diff --git a/src/machine/buffer.go b/src/machine/buffer.go index 73ab3328..ee12b9bc 100644 --- a/src/machine/buffer.go +++ b/src/machine/buffer.go @@ -8,10 +8,6 @@ const bufferSize = 128 // RingBuffer is ring buffer implementation inspired by post at // https://www.embeddedrelated.com/showthread/comp.arch.embedded/77084-1.php -// -// It has some limitations currently due to how "volatile" variables that are -// members of a struct are not compiled correctly by TinyGo. -// See https://github.com/tinygo-org/tinygo/issues/151 for details. type RingBuffer struct { rxbuffer [bufferSize]volatile.Register8 head volatile.Register8