first try to fix #127

This commit is contained in:
Qingping Hou
2012-06-07 23:39:28 +08:00
parent 7ab59e9a5c
commit 2485a552eb
2 changed files with 50 additions and 11 deletions

View File

@@ -112,6 +112,8 @@ else
end
end
G_screen_saver_mode = false
G_charging_mode = false
fb = einkfb.open("/dev/fb0")
G_width, G_height = fb:getSize()
-- read current rotation mode