Update LCD32-show

This commit is contained in:
goodtft
2019-06-29 17:02:36 +08:00
committed by GitHub
parent 42c2f13e61
commit 467612ac26
+3 -3
View File
@@ -17,10 +17,10 @@ kernel=`uname -r`
version=`uname -v` version=`uname -v`
if test "$nodeplatform" = "raspberrypi";then if test "$nodeplatform" = "raspberrypi";then
echo "this is raspberrypi kernel" echo "this is raspberrypi kernel"
version=${version%% *} version=${version##* }
version=${version#*#} #version=${version#*#}
echo $version echo $version
if test $version -lt 970;then if test $version -lt 2017;then
echo "reboot" echo "reboot"
else else
echo "need to update touch configuration" echo "need to update touch configuration"