Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cdcda36a authored by casey.song's avatar casey.song Committed by hecaiqiang
Browse files

Optimize the TP point report

optimize the TP point report

Change-Id: I286283f98ad5fdf1cbfa857acd1954ef4632dea1
parent 8a0ac448
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -212,6 +212,9 @@ void operate_mode_switch(struct touchpanel_data *ts)
		if (ts->touch_hold_support)
		if (ts->touch_hold_support)
			ts->ts_ops->mode_switch(ts->chip_data, MODE_TOUCH_HOLD, ts->touch_hold_enable);
			ts->ts_ops->mode_switch(ts->chip_data, MODE_TOUCH_HOLD, ts->touch_hold_enable);


		if (ts->ndx_detect) {
			ts->ts_ops->mode_switch(ts->chip_data, MODE_NDX_DETECT, ts->ndx_detect);
		}
        ts->ts_ops->mode_switch(ts->chip_data, MODE_NORMAL, true);
        ts->ts_ops->mode_switch(ts->chip_data, MODE_NORMAL, true);


    }
    }