mirror of
https://github.com/Evolution-X-Devices/device_google_redfin
synced 2026-02-01 11:26:33 +00:00
Merge "vibrator: Update calibration precision" into rvc-dev
Change-Id: I71ad16b3d317fdb4d2ad3677f448230259f65d2a Change-Id: I82968dc061ae0dfdbabf108f04d8bca947244dbe Change-Id: Ia6f30d28c76bc22078109680d86d8907686dbdf5 Change-Id: Ic81e2864ccdb7c7efdb5620996a10e05b455d6b1
This commit is contained in:
@@ -57,7 +57,7 @@ static constexpr char WAVEFORM_HEAVY_CLICK_EFFECT_SEQ[] = "4 0";
|
||||
static constexpr std::array<float, 5> EFFECT_TARGET_G = {0.175, 0.325, 0.37, 0.475, 0.6};
|
||||
static constexpr std::array<float, 3> STEADY_TARGET_G = {1.38, 1.145, 0.905};
|
||||
|
||||
#define FLOAT_EPS 1e-6
|
||||
#define FLOAT_EPS 1e-7
|
||||
|
||||
static std::uint32_t freqPeriodFormula(std::uint32_t in) {
|
||||
return 1000000000 / (24615 * in);
|
||||
|
||||
Reference in New Issue
Block a user