mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 10:05:19 +00:00
Merge changes from topic "c2f2_sensors_vts" into qt-r1-dev
am: 8813be6341
Change-Id: Ie652236cdbd4734dc723fac8c27ca876161f623d
This commit is contained in:
@@ -911,7 +911,9 @@ void SensorsHidlTest::checkRateLevel(const SensorInfo& sensor, int32_t directCha
|
||||
[&](Result result, int32_t reportToken) {
|
||||
if (isDirectReportRateSupported(sensor, rateLevel)) {
|
||||
ASSERT_EQ(result, Result::OK);
|
||||
ASSERT_GT(reportToken, 0);
|
||||
if (rateLevel != RateLevel::STOP) {
|
||||
ASSERT_GT(reportToken, 0);
|
||||
}
|
||||
} else {
|
||||
ASSERT_EQ(result, Result::BAD_VALUE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user