kobo: fix typo during refactoring, luacheck is the best check

This commit is contained in:
Qingping Hou
2016-03-05 13:02:19 -08:00
parent 7a22282dbe
commit e812f7d0d6

View File

@@ -56,7 +56,7 @@ function KoboPowerD:setIntensityHW()
if self.fl ~= nil then
self.fl:setBrightness(self.fl_intensity)
-- Make sure we persist intensity config in reader setting
G_reader_settings:saveSetting("frontlight_intensity", new_intensity)
G_reader_settings:saveSetting("frontlight_intensity", self.fl_intensity)
if KOBO_SYNC_BRIGHTNESS_WITH_NICKEL then
NickelConf.frontLightLevel.set(self.fl_intensity)
end