Bug report: || fixed for: IXUS 40

  • 5 Replies
  • 968 Views
*

Offline koshy

  • *****
  • 799
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 »

*

Offline srsa_4c

  • ******
  • 3686
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

  • *****
  • 1303
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

  • *****
  • 799
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.


*

Offline koshy

  • *****
  • 799
Re: Bug report: || fixed for: IXUS 40
« Reply #4 on: 24 / July / 2014, 06:35:06 »
Did this make it into a changeset?

*

Offline nafraf

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

 

Related Topics