Just a minor speedup suggestion: to insert "break;" just after each "found=1;".
I suspect here should be "selected_item", not "selected_file"
What about a deleted file with .CR* extension?
Minor: Extra unnecessary check: "de2->name == 'J'" -> so it can'be "de2->name == 'C'"
My teacher told me to avoid using "goto" or "break" statements. May be he wasn't right after all.
while (!found && (de4=readdir(d4)) != NULL)
QuoteWhat about a deleted file with .CR* extension?What do you mean? If it is already deleted, we don't need to search for its JPG partner.
GrAnd, any way to know if the amount of memory is not enough for this application? Or what could be the cause of camera hanging sometimes and sometimes it simply works!
Regarding the "hanging" problems some of you reported: I've been able to reproduce them only twice, so I can't still find the cause. GrAnd mentioned somewhere else a watchdog timeout, maybe it has something to do here. I'll continue experimenting, but I guess we'll have to get rid of the "Delete all RAW files in DCIM folder" function.
My CHDK cards, I use the camera feature "Delete All Images"
Started by hangglider
Started by SkyWalker9
Started by Mike Lee
General Discussion and Assistance
Started by esranjith
« 1 2 »
Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)
Started by Dave92F1
RAW Shooting and Processing