Latest G12 & SX30 patch (patched against changeset 1092).
Changes:
- added delay for SX30 in action_push_click (action_stack.c) [from CHDK-DE].
- fixed bug in histogram code for cases when viewport buffer memory is wider than actual viewport, also cleaned up the code a little (to align with the motion detect code) and added some comments.
- minor format cleanup in camera.h for G12 & SX30
- added new #define in camera.h for the (current) startup crash fix code (
http://chdk.setepontos.com/index.php?topic=6179.0)
- added some new propcase values in propset4.h (used for some other fixes)
- clean up old code in kbd.c for G12
- updated battery min & max for G12
- fixed Dark Frame Subtraction for G12 & SX30 (requires change in generic/capt_seq.c as well as camera specific capt_seq.c).
- fixed some incorrect stub addresses for both cameras.
- added code to lens_set_focus_pos (generic/wrappers.c) for G12 to stop it crashing if 'Continuous AF' enabled.
- added startup crash fix code to open (generic/wrappers.c).
- fixed AE lock in movie mode for G12 (MakeAFScan in generic/wrappers.c)
- fixed SX30 value for KEYS_MASK0 and removed old code in kbd,c
- removed old comments in platform/sx30/main.c
Hope this isn't too big,
Phil.