summaryrefslogtreecommitdiff
path: root/tslib
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-11-25 10:19:50 +0000
committerChris Larson <clarson@kergoth.com>2004-11-25 10:19:50 +0000
commit119b59cd0df00269bfe51d906657193217b8c884 (patch)
treebe4bc7f812a9df2c6b3f17e6c3cc9bfafad07253 /tslib
parentc985a77fad25302d576fbcf92149c983887bc0b9 (diff)
Remove the EOLN_NATIVE flag from a ton of files (patches & the like for which line ending conversions can break things).
BKrev: 41a5b1c6eA2OPeQrDQEgEwAmKXvQJg
Diffstat (limited to 'tslib')
-rw-r--r--tslib/tslib/initialize_djs.patch20
-rw-r--r--tslib/tslib/omap1610h2/tslib.sh5
2 files changed, 25 insertions, 0 deletions
diff --git a/tslib/tslib/initialize_djs.patch b/tslib/tslib/initialize_djs.patch
index e69de29bb2..bfd8d1cc18 100644
--- a/tslib/tslib/initialize_djs.patch
+++ b/tslib/tslib/initialize_djs.patch
@@ -0,0 +1,20 @@
+Sometimes after ts_open/ts_close/ts_open on the first
+sample(s) dejitter will crash (sorry no backtrace)
+
+memsetting tslib_dejitter so djt->nr is not random anymore
+
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- tslib/plugins/dejitter.c~initialize_djs
++++ tslib/plugins/dejitter.c
+@@ -205,6 +205,7 @@
+ if (djt == NULL)
+ return NULL;
+
++ memset(djt, 0, sizeof(struct tslib_dejitter));
+ djt->module.ops = &dejitter_ops;
+
+ djt->delta = 100;
diff --git a/tslib/tslib/omap1610h2/tslib.sh b/tslib/tslib/omap1610h2/tslib.sh
index e69de29bb2..040f4de3d5 100644
--- a/tslib/tslib/omap1610h2/tslib.sh
+++ b/tslib/tslib/omap1610h2/tslib.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+TSLIB_TSDEVICE=/dev/input/event1
+
+export TSLIB_TSDEVICE