Ignore:
Timestamp:
04/25/11 01:47:29 (2 years ago)
Author:
reyalP
Message:

enable CAM_DATE_FOLDER_NAMING - Allows RAW and DNG files to be save in the same folders as their corresponging JPG's. From waterwingz in http://chdk.setepontos.com/index.php?topic=650.msg65355#msg65355

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platform/ixus120_sd940/shooting.c

    r1056 r1157  
    126126} 
    127127 
     128#if defined(CAM_DATE_FOLDER_NAMING) 
     129void get_target_dir_name(char *out) { 
     130    extern void _GetImageFolder(char*,int,int,int); 
     131    out[0] = 'A'; 
     132    _GetImageFolder(out+1,get_file_next_counter(),CAM_DATE_FOLDER_NAMING,time(NULL)); 
     133    out[15] = '\0'; 
     134} 
     135#else 
    128136long get_target_dir_num() { 
    129137        long n; 
     
    134142} 
    135143 
     144#endif 
     145 
    136146int circle_of_confusion = 5; 
Note: See TracChangeset for help on using the changeset viewer.