mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Add a sleep after kobo resume to resolve partial blank screen issue (#1874)
This commit is contained in:
@@ -143,6 +143,7 @@ end
|
||||
|
||||
function Kobo:resume()
|
||||
os.execute("echo 0 > /sys/power/state-extended")
|
||||
os.execute("sleep 0.1")
|
||||
-- cf. #1862, I can reliably break IR touch input on resume...
|
||||
if os.getenv("FROM_NICKEL") == "true" then
|
||||
local f = io.open("/sys/devices/virtual/input/input1/neocmd", "r")
|
||||
|
||||
Reference in New Issue
Block a user