mt2503三合一vibrator如何调整振动强度
时间:10-02
整理:3721RD
点击:
Answer:
可以尝试如下修改:
在vibration_drv.c里,在VIBR_Didi_gain_Lookup这个函数在return vib_digi_gain之前,加上
{
kal_uint32 attenuation_gain = 0x4000;
vib_digi_gain = (kal_uint16)(((kal_uint32)vib_digi_gain *attenuation_gain )>>15);
}
其中attenuation_gai的值范围是0~0x7fff,值越大震感越强
可以尝试如下修改:
在vibration_drv.c里,在VIBR_Didi_gain_Lookup这个函数在return vib_digi_gain之前,加上
{
kal_uint32 attenuation_gain = 0x4000;
vib_digi_gain = (kal_uint16)(((kal_uint32)vib_digi_gain *attenuation_gain )>>15);
}
其中attenuation_gai的值范围是0~0x7fff,值越大震感越强
666666