Changeset 1335


Ignore:
Timestamp:
09/12/11 02:46:06 (21 months ago)
Author:
reyalp
Message:

a410 cosmetic cleanup from srsa_4c in http://chdk.setepontos.com/index.php?topic=650.msg73045#msg73045

  • removes unneeded platform specific ifdefs
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/lolevel.h

    r1287 r1335  
    2121extern long _GetFocusLensSubjectDistanceFromLens(); 
    2222extern void _MoveFocusLensToDistance(short *dist); 
    23 #if defined(CAMERA_a410) 
    24 extern void MoveFocusLensToDistanceA410(short *dist); 
    25 #endif 
    2623extern void _PutInNdFilter(); 
    2724extern void _PutOutNdFilter(); 
  • trunk/platform/a410/sub/100f/stubs_entry_2.S

    r1287 r1335  
    4242NHSTUB(MFOn,0xffd24c18) 
    4343NHSTUB(MFOff,0xffd24c48) 
     44 
     45NHSTUB(MoveFocusLensToDistance, MoveFocusLensToDistanceA410) //hack to make this work 
  • trunk/platform/generic/wrappers.c

    r1316 r1335  
    262262#endif 
    263263        { 
    264 #if defined(CAMERA_a410) // need to disable a (false) assert here to make this function work  
    265                 MoveFocusLensToDistanceA410((short*)&newpos); 
    266 #else 
    267264                _MoveFocusLensToDistance((short*)&newpos); 
    268 #endif 
    269265                //while (focus_busy); 
    270266                while ((shooting_is_flash_ready()!=1) || (focus_busy)); 
Note: See TracChangeset for help on using the changeset viewer.