Magic Lantern Forum

Developing Magic Lantern => General Development => Topic started by: sig_cor on July 24, 2013, 11:02:56 AM

Title: Lens Focus error on "lv"
Post by: sig_cor on July 24, 2013, 11:02:56 AM
Hi to all!
I'm getting an error when I try to move the focus of some step, it's simply two instructions:


int ret = LensFocus(-2);
lens_take_picture(64, 0);


the LensFocus function (lens_focus) stop and return at the first control:


if (!lv) return 0;


at the start of the function:


int lens_focus(
    int num_steps,
    int stepsize,
    int wait,
    int extra_delay
)
{
   if (!lv) return 0;
[...]


This return also happens with the Liveview active. I'm making some error?
My question is: can you move the af without liveview active?

Thanks!
Sigfrido
Title: Re: Lens Focus error on "lv"
Post by: nanomad on July 24, 2013, 03:07:04 PM
No