diff options
author | Peter Osterlund <petero2@telia.com> | 2003-07-29 11:05:25 +0200 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-04-09 04:01:05 +0200 |
commit | d7d35a4aabe6a9102a4365747871e5f4ac0258c6 (patch) | |
tree | a3b068e1b16e83da229c8afe69c5d30dce7c2ca7 | |
parent | 2a757b75d43bcc7276fefef7ab76227ae94ba64c (diff) |
Fixed incorrect "lost sync" message in change
eef92f7889619ab2730f7f930528398d7708ff0c.
-rw-r--r-- | synaptics.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synaptics.c b/synaptics.c index 85de301..4ab968d 100644 --- a/synaptics.c +++ b/synaptics.c @@ -1573,8 +1573,6 @@ SynapticsGetPacket(LocalDevicePtr local, SynapticsPrivatePtr priv) if (old_proto && ((priv->protoBufTail == 2) || (priv->protoBufTail == 5)) && ((u & 0x60) != 0x00)) { - priv->inSync = FALSE; - priv->protoBufTail = 0; if (priv->protoBufTail == 2) { DBG(4, ErrorF("Synaptics driver lost sync at 2nd byte\n")); @@ -1583,6 +1581,8 @@ SynapticsGetPacket(LocalDevicePtr local, SynapticsPrivatePtr priv) { DBG(4, ErrorF("Synaptics driver lost sync at 5th byte\n")); } + priv->inSync = FALSE; + priv->protoBufTail = 0; continue; } /* check 4th byte */ |