Skip to content

Commit 0ac63ba

Browse files
kindle: Default NO_EIPS_SLEEP to "yes" ONLY when launched from KUAL
Behaviour guarded by NO_EIPS_SLEEP is by default only applicable to KUAL
1 parent aeff032 commit 0ac63ba

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

platform/kindle/koreader.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ elif [ "${1}" = "--asap" ]; then
9898
shift 1
9999
NO_SLEEP="yes"
100100
REEXEC_FLAGS="${REEXEC_FLAGS} --asap"
101-
# Don't sleep during eips calls either...
102-
export EIPS_NO_SLEEP="true"
103101
else
104102
NO_SLEEP="no"
105103
fi

platform/kindle/libkohelper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ eips_print_bottom_centered() {
5757
# Sleep a tiny bit to workaround the logic in the 'new' (K4+) eInk controllers that tries to bundle updates,
5858
# otherwise it may drop part of our messages because of other screen updates from KUAL...
5959
# Unless we really don't want to sleep, for special cases...
60-
if [ -z "${EIPS_NO_SLEEP}" ]; then
60+
if [ "${FROM_KUAL}" = "yes" ]; then
6161
usleep 150000 # 150ms
6262
fi
6363

0 commit comments

Comments
 (0)