Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
magic-lantern
magic-lantern
Commits
7dc04d8c53a6
Commit
5cea2ce0
authored
Sep 05, 2018
by
alex@thinkpad
Browse files
close_liveview: also handle the "paused" LiveView state
--HG-- branch : lua_fix
parent
9645d9e82946
Changes
2
Show whitespace changes
Inline
Side-by-side
scripts/api_test.lua
View file @
7dc04d8c
...
...
@@ -314,11 +314,6 @@ function test_camera_gui()
end
end
if
lv
.
paused
then
printf
(
"Resume LiveView...\n"
);
lv
.
resume
()
end
lv
.
stop
()
assert
(
not
lv
.
enabled
)
...
...
src/movtweaks.c
View file @
7dc04d8c
...
...
@@ -244,6 +244,11 @@ void force_liveview()
void
close_liveview
()
{
if
(
lv_paused
)
{
ResumeLiveView
();
}
if
(
lv
)
#ifdef CONFIG_EOSM
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment