summaryrefslogtreecommitdiffstats
path: root/utils/ypr0tools
diff options
context:
space:
mode:
authorLorenzo Miori <memoryS60@gmail.com>2017-04-26 22:32:02 +0200
committerSolomon Peachy <pizza@shaftnet.org>2020-07-07 17:52:17 +0000
commit92a529b4d1a962b182f749b94debf62a0aefbc56 (patch)
tree84e6609c0e54e2c84586d80ccdb347da6f46d68f /utils/ypr0tools
parent2dd6633d71520599ced688d83a00fc127a2e8d6b (diff)
downloadrockbox-92a529b4d1a962b182f749b94debf62a0aefbc56.tar.gz
rockbox-92a529b4d1a962b182f749b94debf62a0aefbc56.tar.bz2
rockbox-92a529b4d1a962b182f749b94debf62a0aefbc56.zip
Samsung YP-R1: fix OF boot shortcut
ypr1 target should switch back to OF by pressing volume down, since volume up is already mapped to the early/safe mode. Change-Id: I18c4deed2c8982dbee18b081ecc59b970c654473
Diffstat (limited to 'utils/ypr0tools')
-rwxr-xr-xutils/ypr0tools/rockbox.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ypr0tools/rockbox.sh b/utils/ypr0tools/rockbox.sh
index af750034fc..7a8425d5ee 100755
--- a/utils/ypr0tools/rockbox.sh
+++ b/utils/ypr0tools/rockbox.sh
@@ -17,7 +17,7 @@
if [ -e "/dev/r1Button" ]
then
# running on YP-R1 model (volume up button)
- BTN=$(echo -e -n "\x02")
+ BTN=$(echo -e -n "\x03")
VAL=$(dd if=/dev/r1Button bs=4 count=1)
else
# running on YP-R0 model (menu button)