Change-Id: I76ef0a3f15e1f58d58a6895bc764d5e9c180c166
if (uInst == ADD_SENSOR || uInst == CHANGE_DELAY) {
unsigned int BatchTimeforReset = 0;
//current_Ts = get_current_timestamp();
- if (uLength >= 9)
+ if (uLength >= 9) {
BatchTimeforReset = *(unsigned int *)(&uSendBuf[4]);// Add / change normal case, not factory.
//pr_info("[SSP] %s timeForRest %d", __func__, BatchTimeforReset);
data->IsBypassMode[uSensorType] = (BatchTimeforReset == 0);
//pr_info("[SSP] sensor%d mode%d Time %lld\n", uSensorType, data->IsBypassMode[uSensorType], current_Ts);
+ }
}
return iRet;
}