Feature #646
Ring buffer
Status:
Neu
Priorität:
Normal
Zugewiesen an:
-
Zielversion:
-
Beginn:
28.04.2025
Abgabedatum:
% erledigt:
0%
Geschätzter Aufwand:
CS Zielversion:
Beschreibung
Overwrite old data when card is full.
Simplest solution is to handle the start block.
The "middle" of start/end has to be calculated different.
[0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
S E
M=(S+E)/2)=4.5
[0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
E S
M=(S+E+10)/2=15/2=7.5
[0] [1] [2] [3] [4] [5] [6] [7] [8] [9]
E S
M=(S+E+10)/2=15/2=7.5