New UX, More settings, reorganise code

This commit is contained in:
Niellune
2025-05-30 14:35:48 +03:00
parent e16b5d4af3
commit 6f6e127095
23 changed files with 678 additions and 454 deletions
+7
View File
@@ -75,6 +75,13 @@ public:
_latest.store(_writing.load());
}
void reset()
{
_writing.store(0);
_reading.store(-1);
_latest.store(-1);
}
private:
std::atomic<int8_t> _latest;
std::atomic<int8_t> _reading;