mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
fixup! (CR) drv8424_mmi: update motor sequences
Update SLOWMO sequence. Set threshold to 3.5 degrees at power up Mot-CRs-Fixed: (CR) Change-Id: I2ea47aa214bc1ac8f28b649348c0800b3275602e Signed-off-by: Konstantin Makariev <hcv867@motorola.com> Reviewed-on: https://gerrit.mot.com/2484723 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Qing Chang <qing@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
a55a5b62a9
commit
4791c8f304
1 changed files with 3 additions and 3 deletions
|
|
@ -263,7 +263,7 @@ static motor_stage initial_data_2p3[SQ_MAX][MAX_STAGE_LEGS] = {
|
|||
{0, 0},
|
||||
},
|
||||
{ /* SLOWMO */
|
||||
{500,200}, {500,400}, {500,800}, {500,1200}, {500,1600},
|
||||
{600,4900},
|
||||
},
|
||||
};
|
||||
|
||||
|
|
@ -285,7 +285,7 @@ static motor_stage initial_data_2p8[SQ_MAX][MAX_STAGE_LEGS] = {
|
|||
{0, 0},
|
||||
},
|
||||
{ /* SLOWMO */
|
||||
{400,200}, {400,400}, {400,800}, {400,1200}, {400,1600},
|
||||
{600,4100},
|
||||
},
|
||||
};
|
||||
/* 10,000,000 10,000,000 4,000,000 2,000,000 15,000,000 */
|
||||
|
|
@ -1394,7 +1394,7 @@ exit:
|
|||
|
||||
#define PROXIMITY_HD 350 /* 3.5 degrees multiplied by 100 to get rid of float */
|
||||
#define PROXIMITY_SD 750 /* 7.5 degrees multiplied by 100 to get rid of float */
|
||||
static int sensProximity = PROXIMITY_SD;
|
||||
static int sensProximity = PROXIMITY_HD;
|
||||
|
||||
static inline bool IN_RANGE(int valMeas, int valSet)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue