mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Initialize mStopThread in Sensor constructor" into main
This commit is contained in:
@@ -40,6 +40,7 @@ Sensor::Sensor(ISensorsEventCallback* callback)
|
||||
: mIsEnabled(false),
|
||||
mSamplingPeriodNs(0),
|
||||
mLastSampleTimeNs(0),
|
||||
mStopThread(false),
|
||||
mCallback(callback),
|
||||
mMode(OperationMode::NORMAL) {
|
||||
mRunThread = std::thread(startThread, this);
|
||||
|
||||
Reference in New Issue
Block a user