Einige kleine Fixes und Ergänzungen

This commit is contained in:
2024-12-24 13:23:55 +01:00
parent 71b5f84a6f
commit 118b0d87ff
7 changed files with 46 additions and 12 deletions

View File

@@ -163,7 +163,7 @@ class HistoryBuffer():
ixnext = index + 1
if ixnext > self.size - 1:
ixnext = 0
return round((self.buf[ix] + self.buf[ixprev] + self.buf[ixnext]) / 3)
return round((self.buf[index] + self.buf[ixprev] + self.buf[ixnext]) / 3)
def setname(self, newname):
"""