mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:09:42 +00:00
Merge "Allows injection for the default HINGE_ANGLE sensor."
This commit is contained in:
@@ -46,7 +46,8 @@ class HingeAngleSensor : public OnChangeSensor {
|
|||||||
mSensorInfo.fifoMaxEventCount = 0;
|
mSensorInfo.fifoMaxEventCount = 0;
|
||||||
mSensorInfo.requiredPermission = "";
|
mSensorInfo.requiredPermission = "";
|
||||||
mSensorInfo.flags = static_cast<uint32_t>(V1_0::SensorFlagBits::ON_CHANGE_MODE |
|
mSensorInfo.flags = static_cast<uint32_t>(V1_0::SensorFlagBits::ON_CHANGE_MODE |
|
||||||
V1_0::SensorFlagBits::WAKE_UP);
|
V1_0::SensorFlagBits::WAKE_UP |
|
||||||
|
V1_0::SensorFlagBits::DATA_INJECTION);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user