diff --git a/frontend/device/kobo/device.lua b/frontend/device/kobo/device.lua index 924ccb169..1495f0948 100644 --- a/frontend/device/kobo/device.lua +++ b/frontend/device/kobo/device.lua @@ -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