machine: remove old comment on volatile behavior

The volatile pragma has long since been replaced by builtins, so this
commentis now outdated.
Этот коммит содержится в:
Ayke van Laethem 2020-02-20 20:38:49 +01:00 коммит произвёл Ron Evans
родитель 3f74e3c41f
коммит bf57ae01fa

Просмотреть файл

@ -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