Bug report: || fixed for: IXUS 40 - General Discussion and Assistance - CHDK Forum
supplierdeeply

Bug report: || fixed for: IXUS 40

  • 5 Replies
  • 4399 Views
*

Offline koshy

  • *****
  • 1096
Bug report: || fixed for: IXUS 40
« on: 23 / July / 2014, 16:40:19 »
Advertisements
Shoting DNG and JPEG into the same folder the file numbers didn't match on the IXUS 40.

IMG_0002.JPG and CRW_0003.DNG are the same shot and so forth.

I was using CHDK: ixus40_sd300-100k-1.3.0-3525
« Last Edit: 23 / July / 2014, 18:03:48 by koshy »
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline srsa_4c

  • ******
  • 4451
Re: Bug report: IXUS 40
« Reply #1 on: 23 / July / 2014, 17:17:31 »
I fixed this for the ixus30, but forgot about this camera.
@nafraf, if you have time, can you make a test build with get_file_next_counter() copied from the ixus30 port?

*

Offline nafraf

  • *****
  • 1308
Re: Bug report: IXUS 40
« Reply #2 on: 23 / July / 2014, 17:36:04 »
Test version following srsa_4c suggestion.
Code: [Select]
Index: platform/ixus40_sd300/shooting.c
===================================================================
--- platform/ixus40_sd300/shooting.c (revision 3535)
+++ platform/ixus40_sd300/shooting.c (working copy)
@@ -114,7 +114,8 @@
 
 
 long get_file_next_counter() {
-    return ((get_file_counter()>>4)+1)<<4;
+//    return ((get_file_counter()>>4)+1)<<4;
+    return get_file_counter();
 }
 
 long get_target_file_num() {

*

Offline koshy

  • *****
  • 1096
Re: Bug report: IXUS 40
« Reply #3 on: 23 / July / 2014, 18:03:03 »
Test version following srsa_4c suggestion.
Tested to be working. Thanks.
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)


*

Offline koshy

  • *****
  • 1096
Re: Bug report: || fixed for: IXUS 40
« Reply #4 on: 24 / July / 2014, 06:35:06 »
Did this make it into a changeset?
Koshy had a little ELPH which wasn't white as snow but everywhere that Koshy went the ELPH was sure to go. (actually an SD, but that detail ruins the rhyme...)

*

Offline nafraf

  • *****
  • 1308
Re: Bug report: || fixed for: IXUS 40
« Reply #5 on: 24 / July / 2014, 08:07:33 »
Fixed in trunk. Changeset 3536

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal