diff options
Diffstat (limited to 'vibrator')
-rw-r--r-- | vibrator/drv2624/Hardware.h | 2 | ||||
-rw-r--r-- | vibrator/drv2624/Vibrator.cpp | 2 | ||||
-rw-r--r-- | vibrator/drv2624/drv2624.bin | bin | 45 -> 45 bytes |
3 files changed, 2 insertions, 2 deletions
diff --git a/vibrator/drv2624/Hardware.h b/vibrator/drv2624/Hardware.h index 8f6810b..aa29d87 100644 --- a/vibrator/drv2624/Hardware.h +++ b/vibrator/drv2624/Hardware.h @@ -104,7 +104,7 @@ class HwCal : public Vibrator::HwCal, private HwCalBase { static constexpr uint32_t WAVEFORM_CLICK_EFFECT_MS = 6; static constexpr uint32_t WAVEFORM_TICK_EFFECT_MS = 2; - static constexpr uint32_t WAVEFORM_DOUBLE_CLICK_EFFECT_MS = 160; + static constexpr uint32_t WAVEFORM_DOUBLE_CLICK_EFFECT_MS = 180; static constexpr uint32_t WAVEFORM_HEAVY_CLICK_EFFECT_MS = 8; static constexpr uint32_t DEFAULT_LRA_PERIOD = 262; diff --git a/vibrator/drv2624/Vibrator.cpp b/vibrator/drv2624/Vibrator.cpp index 2e68f9d..7a1069d 100644 --- a/vibrator/drv2624/Vibrator.cpp +++ b/vibrator/drv2624/Vibrator.cpp @@ -60,7 +60,7 @@ static constexpr char WAVEFORM_HEAVY_CLICK_EFFECT_SEQ[] = "4 0"; // UT team design those target G values static constexpr std::array<float, 5> EFFECT_TARGET_G = {0.19, 0.30, 0.39, 0.59, 0.75}; -static constexpr std::array<float, 3> STEADY_TARGET_G = {1.3, 1.145, 0.4}; +static constexpr std::array<float, 3> STEADY_TARGET_G = {1.3, 1.145, 0.5}; struct SensorContext { ASensorEventQueue *queue; diff --git a/vibrator/drv2624/drv2624.bin b/vibrator/drv2624/drv2624.bin Binary files differindex b8c9317..f8b493f 100644 --- a/vibrator/drv2624/drv2624.bin +++ b/vibrator/drv2624/drv2624.bin |