slitaz-arm rev 185

rpi: tiny edits
author Paul Issott <paul@slitaz.org>
date Mon May 12 18:33:35 2014 +0100 (2014-05-12)
parents b4ef1dfc0bf5
children 15bddf06f52e
files rpi/piface
line diff
     1.1 --- a/rpi/piface	Sun May 11 21:44:43 2014 +0200
     1.2 +++ b/rpi/piface	Mon May 12 18:33:35 2014 +0100
     1.3 @@ -20,7 +20,7 @@
     1.4    buttons       $(gettext "Reads buttons and toggle first 4 outputs")
     1.5    motor         $(gettext "Motor control using WiringPi")
     1.6    reaction      $(gettext "LEDs and buttons reaction timer game")
     1.7 -  metronome     $(gettext "Turn on/off PiFace metronome [40-200 beates]")
     1.8 +  metronome     $(gettext "Turn on/off PiFace metronome [40-200 beats]")
     1.9  
    1.10  EOT
    1.11  }
    1.12 @@ -69,12 +69,12 @@
    1.13  		beates="$2"
    1.14  		[ "$beates" ] || beates=80
    1.15  		if [ "$beates" -lt "40" ] || [ "$beates" -gt "200" ]; then
    1.16 -			echo "Metronome beates is out of range: 40-200" && exit 0
    1.17 +			echo "Metronome beats is out of range: 40-200" && exit 0
    1.18  		fi
    1.19  		newline
    1.20  		colorize 35 "PiFace Metronome"
    1.21  		separator
    1.22 -		echo "beates: $beates"
    1.23 +		echo "beats: $beates"
    1.24  		${wiringpi_exec}/metro ${beates} >/dev/null & 
    1.25  		newline ;;
    1.26