mirror of
https://github.com/niellun/FastCarPlay.git
synced 2026-06-07 09:38:25 +02:00
New UX, More settings, reorganise code
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user