Commit 7c4d0b4b authored by alex@thinkpad's avatar alex@thinkpad
Browse files

api_test.lua: relax half-shutter check a bit (the event is not sent right away)

--HG--
branch : lua_fix
parent b627ebfb7478
......@@ -192,6 +192,7 @@ function test_keys()
-- fixme: expose things like QR_MODE, PLAY_MODE, enter_play_mode...
assert(camera.state == 1)
key.press(KEY.HALFSHUTTER)
msleep(100)
assert(key.last == KEY.HALFSHUTTER)
msleep(1000)
-- half-shutter should close Canon menu
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment