summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh b/meta/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh
index ee55784548..b8383bf86b 100644
--- a/meta/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh
+++ b/meta/recipes-graphics/xtscal/xtscal/30xTs_Calibrate.sh
@@ -3,8 +3,11 @@
3. /etc/formfactor/config 3. /etc/formfactor/config
4 4
5if [ "$HAVE_TOUCHSCREEN" = "1" ]; then 5if [ "$HAVE_TOUCHSCREEN" = "1" ]; then
6 while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ] 6 n=1
7 while [ ! -z $TSLIB_TSDEVICE ] && [ ! -f /etc/pointercal ] && [ $n -le 5 ]
7 do 8 do
8 /usr/bin/xtscal 9 /usr/bin/xtscal
10 sleep 1
11 let "n += 1"
9 done 12 done
10fi 13fi