From 7dd94b348f875c39a2f90778f1b856c06221135e Mon Sep 17 00:00:00 2001 From: NiLuJe Date: Thu, 24 Dec 2020 02:34:16 +0100 Subject: [PATCH] rM: Switch to plain dumb sleep during the crash screen (#7038) The seven billion different input devices on an rM make this trickier in practice. Plus, rM1 vs. rM2 platform differences... --- platform/remarkable/koreader.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/platform/remarkable/koreader.sh b/platform/remarkable/koreader.sh index 3fc2f9a10..db58cd3fd 100755 --- a/platform/remarkable/koreader.sh +++ b/platform/remarkable/koreader.sh @@ -186,8 +186,8 @@ while [ ${RETURN_VALUE} -ne 0 ]; do # With a little notice at the top of the screen, on a big gray screen of death ;). ./fbink -q -b -c -B GRAY9 -m -y 1 "Don't Panic! (Crash n°${CRASH_COUNT} -> ${RETURN_VALUE})" if [ ${CRASH_COUNT} -eq 1 ]; then - # Warn that we're waiting on a tap to continue... - ./fbink -q -b -O -m -y 2 "Tap the screen to continue." + # Warn that we're sleeping for a bit... + ./fbink -q -b -O -m -y 2 "KOReader will restart in 15 sec." fi # U+1F4A3, the hard way, because we can't use \u or \U escape sequences... # shellcheck disable=SC2039 @@ -212,10 +212,7 @@ while [ ${RETURN_VALUE} -ne 0 ]; do # Pause a bit if it's the first crash in a while, so that it actually has a chance of getting noticed ;). if [ ${CRASH_COUNT} -eq 1 ]; then - # NOTE: We don't actually care about what read read, we're just using it as a fancy sleep ;). - # i.e., we pause either until the 15s timeout, or until the user touches the screen. - # shellcheck disable=SC2039 - read -r -t 15