diff options
author | Maxin B. John <maxin.john@intel.com> | 2016-09-16 14:19:16 +0300 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-09-26 08:29:10 +0200 |
commit | fe249f8c5dcce33666447d74d886d6474c676a8d (patch) | |
tree | 5e2d0a025e53f2f7f302f26cc9a4a9dc885e3a41 /meta-oe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh | |
parent | 0d103ba6b8156acfa70b74060b93eb263dfbb5ee (diff) | |
download | meta-openembedded-contrib-fe249f8c5dcce33666447d74d886d6474c676a8d.tar.gz |
xtscal: move recipe from oe-core
Move xtscal recipe from oe-core layer.
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh')
-rw-r--r-- | meta-oe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh b/meta-oe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh new file mode 100644 index 0000000000..fa43617bd2 --- /dev/null +++ b/meta-oe/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +. /etc/formfactor/config + +if [ "$HAVE_TOUCHSCREEN" = "1" ]; then + n=1 + while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ] && [ $n -le 5 ] + do + /usr/bin/xtscal + sleep 1 + n=$(($n+1)) + done +fi |