Changeset 1070 for trunk


Ignore:
Timestamp:
02/27/11 04:01:09 (2 years ago)
Author:
reyalP
Message:

make g12 startup consistent with other ports (short press = play, long press = rec), from philmoz in http://chdk.setepontos.com/index.php?topic=650.msg62382#msg62382

Location:
trunk/platform/g12/sub
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/platform/g12/sub/100c/boot.c

    r1038 r1070  
    176176     
    177177        // replacement of sub_FF864BE0 for correct power-on. 
    178         *(int*)(0x25E0) = (*(int*)0xC0220108)&1 ? 0x200000 : 0x100000;  
     178        *(int*)(0x25E0) = (*(int*)0xC0220108)&1 ? 0x100000 : 0x200000;  
    179179 
    180180        asm volatile ( 
  • trunk/platform/g12/sub/100e/boot.c

    r1038 r1070  
    175175     
    176176        // replacement of sub_FF864BE0 for correct power-on. 
    177         *(int*)(0x25E0) = (*(int*)0xC0220108)&1 ? 0x200000 : 0x100000;  
     177        *(int*)(0x25E0) = (*(int*)0xC0220108)&1 ? 0x100000 : 0x200000;  
    178178 
    179179        asm volatile ( 
Note: See TracChangeset for help on using the changeset viewer.