mt6893-common: Tweak vibration sequence pattern for cupida

This commit is contained in:
subhagamer
2024-04-05 12:13:17 +05:30
committed by subhagamer
parent 5e24637114
commit ccac310f6d

View File

@@ -67,12 +67,12 @@ ndk::ScopedAStatus Vibrator::on(int32_t timeoutMs, const std::shared_ptr<IVibrat
else if (timeoutMs < 80) seqValue = "0x00 0x06";
else seqValue = "0x00 0x0a";
#else
if (timeoutMs < 3) seqValue = "0x00 0x0b";
else if (timeoutMs < 10) seqValue = "0x00 0x0b";
else if (timeoutMs < 20) seqValue = "0x00 0x07";
else if (timeoutMs < 40) seqValue = "0x00 0x09";
else if (timeoutMs < 60) seqValue = "0x00 0x0a";
else if (timeoutMs < 80) seqValue = "0x00 0x0b";
if (timeoutMs < 3) seqValue = "0x00 0x09";
else if (timeoutMs < 10) seqValue = "0x00 0x0a";
else if (timeoutMs < 20) seqValue = "0x00 0x04";
else if (timeoutMs < 40) seqValue = "0x00 0x0b";
else if (timeoutMs < 60) seqValue = "0x00 0x05";
else if (timeoutMs < 80) seqValue = "0x00 0x07";
else seqValue = "0x00 0x0a";
#endif