mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
A couple of hotfixes for 2020.10.1 (#6781)
* PB Crash Screen: * We don't actually support the "tap to restart now" behavior, it's a plain sleep. * Remove CBB toggling leftovers missed in #6696 Fix #6780
This commit is contained in:
@@ -412,9 +412,6 @@ function Kindle2:init()
|
||||
end
|
||||
|
||||
function KindleDXG:init()
|
||||
-- Blacklist the C BB before the first BB require...
|
||||
self:blacklistCBB()
|
||||
|
||||
self.screen = require("ffi/framebuffer_einkfb"):new{device = self, debug = logger.dbg}
|
||||
self.powerd = require("device/kindle/powerd"):new{
|
||||
device = self,
|
||||
@@ -431,9 +428,6 @@ function KindleDXG:init()
|
||||
end
|
||||
|
||||
function Kindle3:init()
|
||||
-- Blacklist the C BB before the first BB require...
|
||||
self:blacklistCBB()
|
||||
|
||||
self.screen = require("ffi/framebuffer_einkfb"):new{device = self, debug = logger.dbg}
|
||||
self.powerd = require("device/kindle/powerd"):new{
|
||||
device = self,
|
||||
@@ -451,9 +445,6 @@ function Kindle3:init()
|
||||
end
|
||||
|
||||
function Kindle4:init()
|
||||
-- Blacklist the C BB before the first BB require...
|
||||
self:blacklistCBB()
|
||||
|
||||
self.screen = require("ffi/framebuffer_einkfb"):new{device = self, debug = logger.dbg}
|
||||
self.powerd = require("device/kindle/powerd"):new{
|
||||
device = self,
|
||||
|
||||
@@ -133,8 +133,8 @@ while [ "${RETURN_VALUE}" -ne 0 ]; do
|
||||
# With a little notice at the top of the screen, on a big gray screen of death ;).
|
||||
"${KOREADER_DIR}/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...
|
||||
"${KOREADER_DIR}/fbink" -q -b -O -m -y 2 "Tap the screen to continue."
|
||||
# Warn that we're sleeping for a bit...
|
||||
"${KOREADER_DIR}/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
|
||||
|
||||
Reference in New Issue
Block a user