File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,8 +83,10 @@ if [ "${1}" = "--kual" ]; then
8383 shift 1
8484 FROM_KUAL=" yes"
8585 REEXEC_FLAGS=" ${REEXEC_FLAGS} --kual"
86+ export NO_EIPS_SLEEP=" no"
8687else
8788 FROM_KUAL=" no"
89+ export NO_EIPS_SLEEP=" yes"
8890fi
8991
9092# By default, don't stop the framework.
@@ -98,8 +100,7 @@ elif [ "${1}" = "--asap" ]; then
98100 shift 1
99101 NO_SLEEP=" yes"
100102 REEXEC_FLAGS=" ${REEXEC_FLAGS} --asap"
101- # Don't sleep during eips calls either...
102- export EIPS_NO_SLEEP=" true"
103+ export NO_EIPS_SLEEP=" yes"
103104else
104105 NO_SLEEP=" no"
105106fi
Original file line number Diff line number Diff 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 [ " ${EIPS_NO_SLEEP} " = " no " ]; then
6161 usleep 150000 # 150ms
6262 fi
6363
You can’t perform that action at this time.
0 commit comments