Changeset 474
- Timestamp:
- 08/10/08 15:48:10 (2 years ago)
- Files:
-
- branches/juciphox/CHDK/LANG/Finnish.lng (modified) (3 diffs)
- branches/juciphox/core/kbd.c (modified) (7 diffs)
- branches/juciphox/core/luascript.c (modified) (1 diff)
- branches/juciphox/doc/version.txt (modified) (1 diff)
- branches/juciphox/include/luaconf.h (modified) (1 diff)
- branches/juciphox/include/platform.h (modified) (2 diffs)
- branches/juciphox/platform/a450/kbd.c (modified) (2 diffs)
- branches/juciphox/platform/a460/kbd.c (modified) (2 diffs)
- branches/juciphox/platform/a540/main.c (modified) (4 diffs)
- branches/juciphox/platform/a550/kbd.c (modified) (2 diffs)
- branches/juciphox/platform/a560/kbd.c (modified) (2 diffs)
- branches/juciphox/platform/a570/kbd.c (modified) (2 diffs)
- branches/juciphox/platform/a650/kbd.c (modified) (2 diffs)
- branches/juciphox/platform/a720/kbd.c (modified) (2 diffs)
- branches/juciphox/platform/g7/kbd.c (modified) (2 diffs)
- branches/juciphox/platform/generic/kbd.c (modified) (2 diffs)
- branches/juciphox/platform/ixus55_sd450/kbd.c (modified) (4 diffs)
- branches/juciphox/platform/ixus70_sd1000/kbd.c (modified) (2 diffs)
- branches/juciphox/platform/ixus850_sd800/kbd.c (modified) (2 diffs)
- branches/juciphox/platform/ixus860_sd870/kbd.c (modified) (2 diffs)
- branches/juciphox/platform/ixus950_sd850/kbd.c (modified) (2 diffs)
- branches/juciphox/platform/ixus960_sd950/kbd.c (modified) (2 diffs)
- branches/juciphox/platform/s2is/kbd.c (modified) (2 diffs)
- branches/juciphox/platform/s3is/kbd.c (modified) (2 diffs)
- branches/juciphox/platform/s5is/kbd.c (modified) (2 diffs)
- branches/juciphox/platform/tx1/kbd.c (modified) (2 diffs)
- branches/juciphox/version.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/juciphox/CHDK/LANG/Finnish.lng
r471 r474 61 61 62 62 45 "Avaa skripti tiedosto..." 63 46 "Skriptin jatk amisviive (.1s)"63 46 "Skriptin jatkoviive (.1s)" 64 64 47 "Nykyinen skripti" 65 65 48 "Skriptin parametrit" … … 500 500 385 "Raw @ Sports ei k��" 501 501 386 "Raw @ purske ei k��" 502 387 "Raw @ EV haaru ikointi ei k��"502 387 "Raw @ EV haarukointi ei k��" 503 503 388 "Raw @ ajastin ei k��" 504 504 … … 514 514 399 "Kauko-ohjattu zoomaus" 515 515 400 "Zoomin odotusviive 0.1s" 516 401 "K�nistys�i" branches/juciphox/core/kbd.c
r473 r474 237 237 } 238 238 239 static void wait_and_end(void) 240 { 241 script_console_add_line("PRESS SHUTTER TO CLOSE"); 242 243 // We're not running any more, but we have scheduled stuff that 244 // needs to finish. So keep the script marked as running, but don't 245 // call any more scripting functions. 246 state_kbd_script_run = 3; 247 } 239 248 240 249 static void script_start( int autostart ) … … 263 272 if( !lua_script_start(state_ubasic_script) ) { 264 273 script_print_screen_end(); 274 wait_and_end(); 265 275 return; 266 276 } … … 408 418 } 409 419 410 if( L ) { 411 int top; 412 if (state_lua_kbd_first_call_to_resume) 413 { 414 state_lua_kbd_first_call_to_resume = 0; 415 top = 0; 416 } 417 else 418 { 419 top = lua_gettop(Lt); 420 } 421 Lres = lua_resume( Lt, top ); 422 423 if (Lres != LUA_YIELD && Lres != 0) { 424 script_console_add_line( lua_tostring( Lt, -1 ) ); 425 } 426 427 if (Lres != LUA_YIELD) { 428 script_console_add_line(lang_str(LANG_CONSOLE_TEXT_FINISHED)); 429 script_end(); 430 } 431 } 432 else { 433 ubasic_run(); 434 if (ubasic_finished()) { 435 script_console_add_line(lang_str(LANG_CONSOLE_TEXT_FINISHED)); 436 script_end(); 437 } 420 if (state_kbd_script_run != 3) 421 { 422 if( L ) { 423 int top; 424 if (state_lua_kbd_first_call_to_resume) 425 { 426 state_lua_kbd_first_call_to_resume = 0; 427 top = 0; 428 } 429 else 430 { 431 top = lua_gettop(Lt); 432 } 433 Lres = lua_resume( Lt, top ); 434 435 if (Lres != LUA_YIELD && Lres != 0) { 436 script_console_add_line( lua_tostring( Lt, -1 ) ); 437 wait_and_end(); 438 return; 439 } 440 441 if (Lres != LUA_YIELD) { 442 script_console_add_line(lang_str(LANG_CONSOLE_TEXT_FINISHED)); 443 script_end(); 444 } 445 } 446 else { 447 ubasic_run(); 448 if (ubasic_finished()) { 449 script_console_add_line(lang_str(LANG_CONSOLE_TEXT_FINISHED)); 450 script_end(); 451 } 452 } 438 453 } 439 454 } … … 548 563 unsigned int drmode; 549 564 550 if(conf.ricoh_ca1_mode )565 if(conf.ricoh_ca1_mode && conf.remote_enable) 551 566 { 552 567 drmode = shooting_get_drive_mode(); … … 588 603 if (kbd_is_key_pressed(conf.alt_mode_button)) 589 604 { 590 if (conf.ricoh_ca1_mode ) conf.synch_enable=1;605 if (conf.ricoh_ca1_mode && conf.remote_enable) conf.synch_enable=1; 591 606 key_pressed = 1; 592 607 kbd_key_release_all(); … … 640 655 { 641 656 script_start(0); 642 } else if ( L || state_kbd_script_run == 2)657 } else if (state_kbd_script_run == 2 || state_kbd_script_run == 3) 643 658 { 644 659 script_console_add_line(lang_str(LANG_CONSOLE_TEXT_INTERRUPTED)); 645 660 script_end(); 646 } else 661 } else if (L) 662 { 663 state_kbd_script_run = 2; 664 lua_getglobal(Lt, "restore"); 665 if (lua_isfunction(Lt, -1)) 666 { 667 if (lua_pcall( Lt, 0, 0, 0 )) 668 { 669 script_console_add_line( lua_tostring( Lt, -1 ) ); 670 } 671 } 672 script_console_add_line(lang_str(LANG_CONSOLE_TEXT_INTERRUPTED)); 673 script_end(); 674 } 675 else 647 676 { 648 677 state_kbd_script_run = 2; … … 662 691 663 692 #ifndef SYNCHABLE_REMOTE_NOT_ENABLED 664 if(conf.ricoh_ca1_mode )693 if(conf.ricoh_ca1_mode && conf.remote_enable) 665 694 { 666 695 branches/juciphox/core/luascript.c
r472 r474 623 623 { 624 624 int which = (luaL_checknumber( L, 1 )); 625 int temp ;625 int temp = -100; // do something insane if users passes bad value 626 626 switch (which) 627 627 { branches/juciphox/doc/version.txt
r473 r474 5 5 6 6 log 7 8 474 / 0.2.7 9 Jucifer 10 11 + Lua scripts now try to call restore() when interrupted (auj) 12 - applied reyalp's patches: a540-modes-2 and lua-warnings-1 13 - added a few more checks for synchable remote related stuff 14 - fixed finnish.lng a bit (Mikko70) 15 7 16 8 17 branches/juciphox/include/luaconf.h
r416 r474 184 184 #elif defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 302) && \ 185 185 defined(__ELF__) 186 /* reyalp: hidden is irrelevant if not dynamically linked*/ 187 #if defined(HDK_VERSION) 188 #define LUAI_FUNC extern 189 #else 186 190 #define LUAI_FUNC __attribute__((visibility("hidden"))) extern 191 #endif 187 192 #define LUAI_DATA LUAI_FUNC 188 193 branches/juciphox/include/platform.h
r473 r474 27 27 MODE_VIDEO_MY_COLORS , 28 28 MODE_VIDEO_COLOR_ACCENT , 29 MODE_VIDEO_COLOR_SWAP , 29 30 MODE_STITCH , 30 31 MODE_MY_COLORS , … … 38 39 MODE_SCN_FIREWORK , 39 40 MODE_SCN_COLOR_ACCENT , 41 MODE_SCN_COLOR_SWAP , 40 42 MODE_VIDEO_HIRES , 41 43 MODE_SCN_AQUARIUM , branches/juciphox/platform/a450/kbd.c
r463 r474 51 51 tick2 = tick; 52 52 static long usb_physw[3]; 53 if (conf.synch_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING)))54 // if (conf.synch_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect53 if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) 54 // if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect 55 55 { 56 56 // ------ add by Masuji SUTO (start) -------------- … … 60 60 if((usb_physw[2] & USB_MASK)==USB_MASK) nMode=1; 61 61 // ------ add by Masuji SUTO (end) -------------- 62 if(conf.ricoh_ca1_mode )62 if(conf.ricoh_ca1_mode && conf.remote_enable) 63 63 { 64 64 if(shooting_get_drive_mode()==1 && state_shooting_progress == SHOOTING_PROGRESS_PROCESSING){ //continuous-shooting mode branches/juciphox/platform/a460/kbd.c
r463 r474 51 51 tick2 = tick; 52 52 static long usb_physw[3]; 53 if (conf.synch_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING)))53 if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) 54 54 // synch mode enable so wait for USB to disconnect 55 55 { … … 61 61 if((usb_physw[2] & USB_MASK)==USB_MASK) nMode=1; 62 62 // ------ add by Masuji SUTO (end) -------------- 63 if(conf.ricoh_ca1_mode )63 if(conf.ricoh_ca1_mode && conf.remote_enable) 64 64 { 65 65 if(shooting_get_drive_mode()==1 && state_shooting_progress == SHOOTING_PROGRESS_PROCESSING){ //continuous-shooting mode branches/juciphox/platform/a540/main.c
r338 r474 42 42 int canonmode; 43 43 } modemap[] = { 44 { MODE_AUTO, 6 }, 45 { MODE_P, 1 }, 46 { MODE_TV, 3 }, 47 { MODE_AV, 2 }, 48 { MODE_M, 0 }, 49 { MODE_PORTRAIT, 9 }, 50 { MODE_NIGHT, 8 }, 51 { MODE_LANDSCAPE, 7 }, 52 { MODE_VIDEO_STD, 18 }, 53 { MODE_STITCH, 5 }, 54 { MODE_MY_COLORS, 4 }, 55 { MODE_SCN_WATER, 13 }, 56 { MODE_SCN_NIGHT, 15 }, 57 { MODE_SCN_CHILD, 16 }, 58 { MODE_SCN_PARTY, 14 }, 59 { MODE_SCN_GRASS, 10 }, 60 { MODE_SCN_SNOW, 11 }, 61 { MODE_SCN_BEACH, 12 }, 62 { MODE_SCN_FIREWORK, 17 } 44 { MODE_M, 32769 }, 45 { MODE_AV, 32770 }, 46 { MODE_TV, 32771 }, 47 { MODE_P, 32772 }, 48 { MODE_AUTO, 32768 }, 49 { MODE_PORTRAIT, 32781 }, 50 { MODE_LANDSCAPE, 32780 }, 51 { MODE_NIGHT, 32782 }, // "night scene" on dial, different from "night snapshot" under "scene" below 52 { MODE_STITCH, 33290 }, 53 { MODE_SCN_NIGHT, 16395 }, // "night snapshot" 54 { MODE_SCN_KIDS_PETS, 16399 }, // "kids and pets" 55 { MODE_SCN_INDOOR, 16400 }, // "indoor" 56 { MODE_SCN_FOLIAGE, 16401 }, // "foliage" 57 { MODE_SCN_SNOW, 16402 }, // "snow" 58 { MODE_SCN_BEACH, 16403 }, // "beach" 59 { MODE_SCN_FIREWORK, 16404 }, // "fireworks" 60 { MODE_SCN_WATER, 16405 }, // "under water" (should this be AQUARIUM ?) 61 { MODE_SCN_COLOR_ACCENT, 16920 }, // "color accent" 62 { MODE_SCN_COLOR_SWAP, 16921 }, // "color swap" 63 { MODE_VIDEO_STD, 2593 }, 64 { MODE_VIDEO_SPEED, 2594 }, // "fast frame rate" 65 { MODE_VIDEO_COMPACT, 2595 }, // "compact" 66 { MODE_VIDEO_COLOR_ACCENT, 2591 }, // "color accent" 67 { MODE_VIDEO_COLOR_SWAP, 2592 }, // "color swap" 63 68 }; 64 69 #define MODESCNT (sizeof(modemap)/sizeof(modemap[0])) … … 71 76 // mode |= (physw_status[2] & 0x00004000)?0:MODE_SCREEN_ROTATED; 72 77 73 _GetPropertyCase( 0, &t, 4);78 _GetPropertyCase(PROPCASE_SHOOTING_MODE, &t, 4); 74 79 for (i=0; i<MODESCNT; ++i) { 75 80 if (modemap[i].canonmode == t) { … … 79 84 return (mode); 80 85 } 81 86 /* // seems to be added from ewavr's svn; although not yet used, might become useful... 82 87 int is_mode_photo(){ //from 710 added 83 88 int m=mode_get(); … … 86 91 (m&MODE_SHOOTING_MASK)==MODE_VIDEO_MY_COLORS || (m&MODE_SHOOTING_MASK)==MODE_VIDEO_COLOR_ACCENT); 87 92 } 93 */ branches/juciphox/platform/a550/kbd.c
r463 r474 54 54 tick2 = tick; 55 55 static long usb_physw[3]; 56 if (conf.synch_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING)))57 // if (conf.synch_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect56 if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) 57 // if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect 58 58 { 59 59 … … 64 64 if((usb_physw[2] & USB_MASK)==USB_MASK) nMode=1; 65 65 // ------ add by Masuji SUTO (end) -------------- 66 if(conf.ricoh_ca1_mode )66 if(conf.ricoh_ca1_mode && conf.remote_enable) 67 67 { 68 68 if(shooting_get_drive_mode()==1 && state_shooting_progress == SHOOTING_PROGRESS_PROCESSING){ //continuous-shooting mode branches/juciphox/platform/a560/kbd.c
r463 r474 55 55 static long usb_physw[3]; 56 56 57 if (conf.synch_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING)))58 // if (conf.synch_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect57 if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) 58 // if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect 59 59 { 60 60 … … 66 66 // ------ add by Masuji SUTO (end) -------------- 67 67 68 if(conf.ricoh_ca1_mode )68 if(conf.ricoh_ca1_mode && conf.remote_enable) 69 69 { 70 70 if(shooting_get_drive_mode()==1 && state_shooting_progress == SHOOTING_PROGRESS_PROCESSING){ //continuous-shooting mode branches/juciphox/platform/a570/kbd.c
r463 r474 57 57 static long usb_physw[3]; 58 58 59 if (conf.synch_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect59 if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect 60 60 { 61 61 // ------ add by Masuji SUTO (start) -------------- … … 65 65 if((usb_physw[2] & USB_MASK)==USB_MASK) nMode=1; 66 66 // ------ add by Masuji SUTO (end) -------------- 67 if(conf.ricoh_ca1_mode ) //ricoh_ca1_mode67 if(conf.ricoh_ca1_mode && conf.remote_enable) //ricoh_ca1_mode 68 68 { 69 69 if(shooting_get_drive_mode()==1 && state_shooting_progress == SHOOTING_PROGRESS_PROCESSING){ //continuous-shooting mode branches/juciphox/platform/a650/kbd.c
r471 r474 58 58 tick2 = tick; 59 59 static long usb_physw[3]; 60 if (conf.synch_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING)))61 // if (conf.synch_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect60 if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) 61 // if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect 62 62 { 63 63 … … 68 68 if((usb_physw[2] & USB_MASK)==USB_MASK) nMode=1; 69 69 // ------ add by Masuji SUTO (end) -------------- 70 if(conf.ricoh_ca1_mode )70 if(conf.ricoh_ca1_mode && conf.remote_enable) 71 71 { 72 72 if(shooting_get_drive_mode()==1 && state_shooting_progress == SHOOTING_PROGRESS_PROCESSING){ //continuous-shooting mode branches/juciphox/platform/a720/kbd.c
r471 r474 57 57 tick2 = tick; 58 58 static long usb_physw[3]; 59 if (conf.synch_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING)))60 // if (conf.synch_enable ) // synch mode enable so wait for USB to disconnect59 if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) 60 // if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable) // synch mode enable so wait for USB to disconnect 61 61 { 62 62 // ------ add by Masuji SUTO (start) -------------- … … 67 67 // ------ add by Masuji SUTO (end) -------------- 68 68 69 if(conf.ricoh_ca1_mode )69 if(conf.ricoh_ca1_mode && conf.remote_enable) 70 70 { 71 71 if(shooting_get_drive_mode() ==1 && state_shooting_progress == SHOOTING_PROGRESS_PROCESSING){ //continuous-shooting mode branches/juciphox/platform/g7/kbd.c
r463 r474 55 55 tick2 = tick; 56 56 static long usb_physw[3]; 57 if (conf.synch_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING)))58 // if (conf.synch_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect57 if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) 58 // if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect 59 59 { 60 60 // ------ add by Masuji SUTO (start) -------------- … … 65 65 // ------ add by Masuji SUTO (end) -------------- 66 66 67 if(conf.ricoh_ca1_mode )67 if(conf.ricoh_ca1_mode && conf.remote_enable) 68 68 { 69 69 if(shooting_get_drive_mode()==1 && state_shooting_progress == SHOOTING_PROGRESS_PROCESSING){ //continuous-shooting mode branches/juciphox/platform/generic/kbd.c
r463 r474 83 83 tick2 = tick; 84 84 85 if (conf.synch_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING)))86 87 // if(conf.synch_enable ) // synch mode enable so wait for USB to disconnect85 if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) 86 87 // if(conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable) // synch mode enable so wait for USB to disconnect 88 88 { 89 if(conf.ricoh_ca1_mode )89 if(conf.ricoh_ca1_mode && conf.remote_enable) 90 90 { 91 91 nMode=0; … … 97 97 98 98 99 if(conf.ricoh_ca1_mode )99 if(conf.ricoh_ca1_mode && conf.remote_enable) 100 100 { 101 101 if(shooting_get_drive_mode()==1 && state_shooting_progress == SHOOTING_PROGRESS_PROCESSING){ //continuous-shooting mode branches/juciphox/platform/ixus55_sd450/kbd.c
r463 r474 58 58 tick2 = tick; 59 59 60 if (conf.synch_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING)))60 if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) 61 61 62 62 { 63 if(conf.ricoh_ca1_mode )63 if(conf.ricoh_ca1_mode && conf.remote_enable) 64 64 { 65 65 nMode=0; … … 71 71 72 72 73 if(conf.ricoh_ca1_mode )73 if(conf.ricoh_ca1_mode && conf.remote_enable) 74 74 { 75 75 if(shooting_get_drive_mode()==1 && state_shooting_progress == SHOOTING_PROGRESS_PROCESSING){ //continuous-shooting mode … … 186 186 tick2 = tick; 187 187 static long usb_physw[3]; 188 if (conf.synch_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING)))189 // if (conf.synch_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect188 if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) 189 // if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect 190 190 { 191 191 … … 197 197 // ------ add by Masuji SUTO (end) -------------- 198 198 199 if(conf.ricoh_ca1_mode )199 if(conf.ricoh_ca1_mode && conf.remote_enable) 200 200 { 201 201 if(shooting_get_drive_mode()==1 && state_shooting_progress == SHOOTING_PROGRESS_PROCESSING){ //continuous-shooting mode branches/juciphox/platform/ixus70_sd1000/kbd.c
r463 r474 56 56 static long usb_physw[3]; 57 57 58 if (conf.synch_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect58 if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect 59 59 { 60 60 // ------ add by Masuji SUTO (start) -------------- … … 65 65 // ------ add by Masuji SUTO (end) -------------- 66 66 67 if(conf.ricoh_ca1_mode )67 if(conf.ricoh_ca1_mode && conf.remote_enable) 68 68 { 69 69 if(shooting_get_drive_mode()==1 && state_shooting_progress == SHOOTING_PROGRESS_PROCESSING){ //continuous-shooting mode branches/juciphox/platform/ixus850_sd800/kbd.c
r463 r474 55 55 tick2 = tick; 56 56 static long usb_physw[3]; 57 if (conf.synch_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING)))58 // if (conf.synch_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect57 if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) 58 // if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect 59 59 { 60 60 // ------ add by Masuji SUTO (start) -------------- … … 65 65 // ------ add by Masuji SUTO (end) -------------- 66 66 67 if(conf.ricoh_ca1_mode )67 if(conf.ricoh_ca1_mode && conf.remote_enable) 68 68 { 69 69 if(shooting_get_drive_mode()==1 && state_shooting_progress == SHOOTING_PROGRESS_PROCESSING){ //continuous-shooting mode branches/juciphox/platform/ixus860_sd870/kbd.c
r471 r474 59 59 tick2 = tick; 60 60 static long usb_physw[3]; 61 if (conf.synch_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING)))62 // if (conf.synch_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect61 if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) 62 // if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect 63 63 { 64 64 // ------ add by Masuji SUTO (start) -------------- … … 68 68 if((usb_physw[2] & USB_MASK)==USB_MASK) nMode=1; 69 69 // ------ add by Masuji SUTO (end) -------------- 70 if(conf.ricoh_ca1_mode )70 if(conf.ricoh_ca1_mode && conf.remote_enable) 71 71 { 72 72 if(shooting_get_drive_mode()==1 && state_shooting_progress == SHOOTING_PROGRESS_PROCESSING){ //continuous-shooting mode branches/juciphox/platform/ixus950_sd850/kbd.c
r463 r474 59 59 static long usb_physw[3]; 60 60 61 if (conf.synch_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect61 if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect 62 62 { 63 63 // ------ add by Masuji SUTO (start) -------------- … … 67 67 if((usb_physw[2] & USB_MASK)==USB_MASK) nMode=1; 68 68 // ------ add by Masuji SUTO (end) -------------- 69 if(conf.ricoh_ca1_mode )69 if(conf.ricoh_ca1_mode && conf.remote_enable) 70 70 { 71 71 if(shooting_get_drive_mode()==1 && state_shooting_progress == SHOOTING_PROGRESS_PROCESSING){ //continuous-shooting mode branches/juciphox/platform/ixus960_sd950/kbd.c
r463 r474 61 61 62 62 63 if (conf.synch_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING)))64 // if (conf.synch_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect63 if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) 64 // if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect 65 65 { 66 66 // ------ add by Masuji SUTO (start) -------------- … … 70 70 if((usb_physw[2] & USB_MASK)==USB_MASK) nMode=1; 71 71 // ------ add by Masuji SUTO (end) -------------- 72 if(conf.ricoh_ca1_mode )72 if(conf.ricoh_ca1_mode && conf.remote_enable) 73 73 { 74 74 if(shooting_get_drive_mode()==1 && state_shooting_progress == SHOOTING_PROGRESS_PROCESSING){ //continuous-shooting mode branches/juciphox/platform/s2is/kbd.c
r463 r474 63 63 tick = get_tick_count(); 64 64 tick2 = tick; 65 if (conf.synch_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect65 if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect 66 66 67 67 { … … 72 72 if((x[2]&USB_MASK)==USB_MASK) nMode=1; 73 73 // ------ add by Masuji SUTO (end) -------------- 74 if(conf.ricoh_ca1_mode ) //ricoh_ca1_mode74 if(conf.ricoh_ca1_mode && conf.remote_enable) //ricoh_ca1_mode 75 75 { 76 76 if(shooting_get_drive_mode()==1 && state_shooting_progress == SHOOTING_PROGRESS_PROCESSING){ //continuous-shooting mode branches/juciphox/platform/s3is/kbd.c
r463 r474 59 59 tick2 = tick; 60 60 61 if (conf.synch_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect61 if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect 62 62 { 63 63 // ------ add by Masuji SUTO (start) -------------- … … 67 67 if((x[USB_REG]&USB_MASK)==USB_MASK) nMode=1; 68 68 // ------ add by Masuji SUTO (end) -------------- 69 if(conf.ricoh_ca1_mode ) //ricoh_ca1_mode69 if(conf.ricoh_ca1_mode && conf.remote_enable) //ricoh_ca1_mode 70 70 { 71 71 if(shooting_get_drive_mode()==1 && state_shooting_progress == SHOOTING_PROGRESS_PROCESSING){ //continuous-shooting mode branches/juciphox/platform/s5is/kbd.c
r471 r474 136 136 tick2 = tick; 137 137 static long usb_physw[3]; 138 if (conf.synch_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect138 if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect 139 139 { 140 140 // ------ add by Masuji SUTO (start) -------------- … … 144 144 if((usb_physw[2] & USB_MASK)==USB_MASK) nMode=1; 145 145 // ------ add by Masuji SUTO (end) -------------- 146 if(conf.ricoh_ca1_mode )146 if(conf.ricoh_ca1_mode && conf.remote_enable) 147 147 { 148 148 if(shooting_get_drive_mode()==1 && state_shooting_progress == SHOOTING_PROGRESS_PROCESSING){ //continuous-shooting mode branches/juciphox/platform/tx1/kbd.c
r471 r474 62 62 static long usb_physw[3]; 63 63 64 if (conf.synch_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect64 if (conf.synch_enable && conf.ricoh_ca1_mode && conf.remote_enable && (!shooting_get_drive_mode()|| (shooting_get_drive_mode()==1) || ((shooting_get_drive_mode()==2) && state_shooting_progress != SHOOTING_PROGRESS_PROCESSING))) // synch mode enable so wait for USB to disconnect 65 65 { 66 66 … … 71 71 if((usb_physw[2] & USB_MASK)==USB_MASK) nMode=1; 72 72 // ------ add by Masuji SUTO (end) -------------- 73 if(conf.ricoh_ca1_mode )73 if(conf.ricoh_ca1_mode && conf.remote_enable) 74 74 { 75 75 if(shooting_get_drive_mode()==1 && state_shooting_progress == SHOOTING_PROGRESS_PROCESSING){ //continuous-shooting mode branches/juciphox/version.inc
r473 r474 1 BUILD_NUMBER := 0.2. 61 BUILD_NUMBER := 0.2.7