summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vibrator/cs40l25/Vibrator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/vibrator/cs40l25/Vibrator.cpp b/vibrator/cs40l25/Vibrator.cpp
index 1cf23e28..b600970f 100644
--- a/vibrator/cs40l25/Vibrator.cpp
+++ b/vibrator/cs40l25/Vibrator.cpp
@@ -692,6 +692,7 @@ ndk::ScopedAStatus Vibrator::composePwle(const std::vector<PrimitivePwle> &compo
return status;
}
+ setEffectAmplitude(VOLTAGE_SCALE_MAX, VOLTAGE_SCALE_MAX);
mHwApi->setEffectIndex(WAVEFORM_UNSAVED_TRIGGER_QUEUE_INDEX);
totalDuration += MAX_COLD_START_LATENCY_MS;