mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Merge pull request #1093 from Frenzie/master
Fix Kobo resume in new hardware abstraction.
This commit is contained in:
@@ -119,7 +119,7 @@ function Kobo:Resume()
|
||||
if self.powerd then
|
||||
if KOBO_LIGHT_ON_START and tonumber(KOBO_LIGHT_ON_START) > -1 then
|
||||
self.powerd:setIntensity(math.max(math.min(KOBO_LIGHT_ON_START,100),0))
|
||||
elseif powerd.fl ~= nil then
|
||||
elseif self.powerd.fl ~= nil then
|
||||
self.powerd.fl:restore()
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user