Changeset 626 for trunk/core/conf.c


Ignore:
Timestamp:
12/10/08 17:33:06 (4 years ago)
Author:
EWAVR
Message:

+ A710, SX100 - files with 'dng' extension can be visible via USB (in some programs)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/conf.c

    r623 r626  
    7575static void conf_change_grid_file(); 
    7676static void conf_change_video_bitrate(); 
     77static void conf_change_dng_ext(); 
    7778 
    7879void ubasic_camera_set_raw(int mode) 
     
    396397    CONF_INFO(233, conf.flash_video_override_power,     CONF_DEF_VALUE, i:0, NULL), 
    397398    CONF_INFO(234, conf.raw_dng_ext,     CONF_DEF_VALUE, i:0, NULL), 
     399    CONF_INFO(235, conf.dng_usb_ext,     CONF_DEF_VALUE, i:0, conf_change_dng_ext), 
    398400    }; 
    399401#define CONF_NUM (sizeof(conf_info)/sizeof(conf_info[0])) 
     
    455457 else unload_bad_pixels_list_b(); 
    456458#endif 
     459} 
     460 
     461void conf_change_dng_ext(void){ 
     462#if defined (DNG_EXT_FROM) && defined(DNG_EXT_TO) 
     463 save_ext_for_dng(); 
     464 if (conf.dng_usb_ext) change_ext_to_dng(); else change_ext_to_default(); 
     465#endif  
    457466} 
    458467 
Note: See TracChangeset for help on using the changeset viewer.