Save RAW in JPG directory
with this in raw.c it worked ( from the sx120 port)
#if defined (CAMERA_sx210is)
if (conf.raw_in_dir) {
int month;
struct tm *ttm;
unsigned long t;
t = time(NULL);
ttm = localtime(&t);
month = ttm->tm_mon + 1;
sprintf(dir, "A/DCIM/%03d___%02d", get_target_dir_num(), month);
}
else
sprintf(dir, "A/DCIM/%03dRAW", get_target_dir_num());
#else
sprintf(dir, RAW_TARGET_DIRECTORY, (conf.raw_in_dir)?get_target_dir_num():100);
#endif
but I need the right PARAM_FILE_COUNTER , since the one I use only has file number info
since the one I find in prarm 02, is 22 files behind the real new number wierd????
anyway I need to change these too
long get_target_dir_num() {
long n;
n = get_file_next_counter();
//n = (n>>1😎&0x3FF;
n+=22;
n=n/1000;
n+=101;
return n;
}