Changeset 1091


Ignore:
Timestamp:
03/20/11 01:32:00 (2 years ago)
Author:
reyalP
Message:

from chdkde r599 disable extra long exposure on a720, see http://chdk.setepontos.com/index.php?topic=6182.0

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/camera.h

    r1089 r1091  
    906906    #define CAM_EV_IN_VIDEO             1 
    907907    #undef  CAM_VIDEO_CONTROL 
    908     #define CAM_EXT_TV_RANGE            1 
     908// disabled for now, see http://chdk.setepontos.com/index.php?topic=6182.0 
     909//    #define CAM_EXT_TV_RANGE            1 
    909910 
    910911    // pattern 
  • trunk/platform/a720/sub/100c/boot.c

    r1082 r1091  
    2424// if (p[0]==0xFFC5F754)  p[0]=(int)task_InitFileModules_my; //done 
    2525 if (p[0]==0xFFC49B18)  p[0]=(int)MovieRecord_Task_my; //done 
    26  if (p[0]==0xFFC91454)  p[0]=(int)exp_drv_task; //done 
    27 } 
    28  
    29 void taskCreateHook2(int *p) {  
    30  p-=16; 
    31  if (p[0]==0xFFC49B18)  p[0]=(int)MovieRecord_Task_my; //done 
    32  if (p[0]==0xFFC91454)  p[0]=(int)exp_drv_task; //done 
     26// if (p[0]==0xFFC91454)  p[0]=(int)exp_drv_task; //done 
    3327} 
    3428 
     
    6761    :::"r0"); 
    6862*/ 
    69    *(int*)0x1930=(int)taskCreateHook; 
    70    *(int*)0x1934=(int)taskCreateHook2; 
     63    *(int*)0x1930=(int)taskCreateHook; 
     64    *(int*)0x1934=(int)taskCreateHook; 
    7165 
    7266    // jump to init-sequence that follows the data-copy-routine  
  • trunk/platform/a720/sub/100c/capt_seq.c

    r1069 r1091  
    244244} //#fe 
    245245 
     246/* 
    246247void __attribute__((naked,noinline)) exp_drv_task(){ 
    247248 asm volatile( 
     
    283284                "MOV     R1, #1\n" 
    284285                "BL      sub_FFC18DEC\n" 
    285                 "BL      ExitTask\n" 
     286                "BL      _ExitTask\n" 
    286287                "ADD     SP, SP, #0x20\n" 
    287288                "LDMFD   SP!, {R4-R8,PC}\n" 
     
    699700                "BNE     loc_FFC91A70\n" 
    700701                "MOV     R3, #0\n" 
    701                 "STR     R3, [SP,#0x0]\n" 
     702                "STR     R3, [SP]\n" 
    702703                "MOV     R3, #1\n" 
    703704                "MOV     R2, #1\n" 
     
    706707                "BL      sub_FFC8E1F0\n" 
    707708                "MOV     R3, #0\n" 
    708                 "STR     R3, [SP,#0x0]\n" 
     709                "STR     R3, [SP]\n" 
    709710                "MOV     R3, #1\n" 
    710711                "MOV     R2, #1\n" 
     
    717718                "MOV     R1, #1\n" 
    718719                "MOV     R0, #1\n" 
    719                 "STR     R3, [SP,#0x0]\n" 
     720                "STR     R3, [SP]\n" 
    720721                "BL      sub_FFC8E1F0\n" 
    721722                "MOV     R3, #1\n" 
     
    723724                "MOV     R1, #1\n" 
    724725                "MOV     R0, #1\n" 
    725                 "STR     R3, [SP,#0x0]\n" 
     726                "STR     R3, [SP]\n" 
    726727"loc_FFC91A9C:\n" 
    727728                "BL      sub_FFC8E330\n" 
     
    853854         ); 
    854855} 
     856*/ 
Note: See TracChangeset for help on using the changeset viewer.