vibrator: Update polling timeout to 50ms
Update the polling timeout to match that of main vibrator HAL. The polling timeout is too short, and will cause reset logic to run if the bus is busy. Bug: 348364432 Flag: EXEMPT bugfix Test: atest PtsVibratorHalTestSuite \ PtsHapticsTestCases \ VibratorHalCs40l26TestSuite \ VtsHalVibratorManagerTargetTest \ VtsHalVibratorTargetTest \ CtsVibratorTestCases Change-Id: I31dac8f1693eda8f1a5bac8420aaa7c0d11781fa
This commit is contained in:
parent
ee973de330
commit
42ebfa74b9
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ static constexpr int8_t MAX_PAUSE_TIMING_ERROR_MS = 1; // ALERT Irq Handling
|
|||
static constexpr uint32_t MAX_TIME_MS = UINT16_MAX;
|
||||
|
||||
static constexpr auto ASYNC_COMPLETION_TIMEOUT = std::chrono::milliseconds(100);
|
||||
static constexpr auto POLLING_TIMEOUT = 20;
|
||||
static constexpr auto POLLING_TIMEOUT = 50;
|
||||
static constexpr int32_t COMPOSE_DELAY_MAX_MS = 10000;
|
||||
|
||||
/* nsections is 8 bits. Need to preserve 1 section for the first delay before the first effect. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue