Ignore:
Timestamp:
02/26/11 23:29:27 (2 years ago)
Author:
reyalP
Message:

sx30 and g12 updates from philmoz in http://chdk.setepontos.com/index.php?topic=650.msg62260#msg62260

  • updates for exmem memory allocation to allow these cameras to exclude video buffer memory
  • fixed set_zoom function to correctly wait until zoom is finished before returning
  • fixed startup code for SX30 so that init_file_modules_task gets called correctly in all cases

SX30 startup button change NOT added at this time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/camera.h

    r1064 r1068  
    32233223        #define CAM_DATE_FOLDER_NAMING  1 
    32243224 
     3225        // EXMEM memory allocation values 
     3226        #define EXMEM_HEAP_SKIP (0x08000000-0x07D08A00)                 // G12 & SX30 uses movie memory buffers at the top of the memory allocated by exmem_alloc 
     3227        #define EXMEM_BUFFER_SIZE (1024*1024*2)                                 // desired amount of exmem memory to allocate 
     3228 
    32253229//---------------------------------------------------------- 
    32263230#elif defined (CAMERA_g12) 
     
    33253329 
    33263330        #define CAM_CHDK_PTP 1 
     3331 
     3332        // EXMEM memory allocation values 
     3333        #define EXMEM_HEAP_SKIP (0x08000000-0x07D08A00)                 // G12 & SX30 uses movie memory buffers at the top of the memory allocated by exmem_alloc 
     3334        #define EXMEM_BUFFER_SIZE (1024*1024*2)                                 // desired amount of exmem memory to allocate 
    33273335 
    33283336//---------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.