From bf57ae01fa70e06266efa2389cf05164ae4b14e1 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Thu, 20 Feb 2020 20:38:49 +0100 Subject: [PATCH] machine: remove old comment on volatile behavior The volatile pragma has long since been replaced by builtins, so this commentis now outdated. --- src/machine/buffer.go | 4 ---- 1 file changed, 4 deletions(-) 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