For the set_zoom crash, try adding
#define CAM_NEED_SET_ZOOM_DELAY 300
to platform_camera.h
The delay is in milliseconds, some cameras may need more than 300.
That fixed it - thanks.
I haven't read detail of how the "add to the standard svn build" process works but i've attached the edited platform_camera.h - if I can be of any assistance please let me know.
Of some interest - using chdkptp, I noticed the following:
> lua post_levent_to_ui('PressTeleButton') ->
"12x" appears on LCD (i.e max zoom)> lua post_levent_to_ui('UnpressTeleButton')
> =return get_zoom()
30:return:127
> =set_zoom(0)
> =return get_zoom()
32:return:0 ->
"12x" still appears on lcd, which I don't fully understand.> lua post_levent_to_ui('PressWideButton') ->
"12x" disappears from lcd> lua post_levent_to_ui('UnpressWideButton')
> =return get_zoom()
35:return:0
Maybe insignificant (haven't checked if EXIF updated correctly) but if anyone can comment on why "12x" remains on lcd after set_zoom(0) above whereas the levent clears it, it'd be appreciated...levent direct to canon firmware explain it?