mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Remove KOBO_LIGHT_OFF_ON_SUSPEND option and move workaround to ffi/kobolight.ua
This commit is contained in:
@@ -173,7 +173,6 @@ SEARCH_SERIES = true
|
||||
SEARCH_PATH = true
|
||||
|
||||
-- Light parameter for Kobo
|
||||
KOBO_LIGHT_OFF_ON_SUSPEND = false
|
||||
KOBO_LIGHT_ON_START = -1 -- -1 or 0-100. -1 leaves light as it is, other sets light on start/wake up
|
||||
KOBO_SCREEN_SAVER = "" -- image or directory with pictures or "-"
|
||||
KOBO_SCREEN_SAVER_LAST_BOOK = true -- get screensaver from last book if possible
|
||||
|
||||
@@ -108,9 +108,6 @@ function Kobo:getFirmwareVersion()
|
||||
end
|
||||
|
||||
function Kobo:Suspend()
|
||||
if KOBO_LIGHT_OFF_ON_SUSPEND then
|
||||
self.powerd:setIntensity(0)
|
||||
end
|
||||
os.execute("./suspend.sh")
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user