Lua.mo: Canon settings not saved with camera.reboot

Started by Walter Schulz, April 03, 2016, 11:50:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Walter Schulz

Hi, Dan and Gerry!

Description:
Using "camera.reboot" cam settings will not be saved under certain circumstances.
Reproduced in 7D and 650D. April, 1st build + tonights Lua.mo

How to reproduce:
Photo mode M.
Open Canon settings screen by pressing Q button.
Select WB settings and change using wheel.
Now press Half Shutter to exit.
Open ML screen by pressing trashcan button.
Run Lua script with "camera.reboot".

After reboot open Canon settings and check WB setting: Change undone.

Workaround:
After changing WB exit screen by pressing Q.
-> Setting persistent after "camera.reboot".

Script used:
Reb_Modu.lua

-- Unsophisticated reboot (Modules)

function main()
    camera.reboot()
end

keymenu = menu.new
{
    parent = "Modules",
    name = "Reboot",
    help = "Reboots cam. Will not ask for confirmation!",
    select = function(this) task.create(main) end,
}


WB is not the only setting affected. But it is one of the settings reproducable on both cams.

How to prevent this? Which function/command will force settings to be stored before "camera.reboot"?

a1ex


Danne

Cool script @Walter(a little late here to the lua fiesta...)