root/platform/sx410is/sub/boot_extras.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. init_required_fw_features

   1 /*
   2     *** TEMPORARY workaround ***
   3     Init stuff to avoid asserts on cameras running DryOS r54+
   4     Execute this only once
   5  */
   6 void init_required_fw_features(void) {
   7     extern void _init_focus_eventflag();
   8     //extern void _init_nd_eventflag();
   9     //extern void _init_nd_semaphore();
  10     //extern void _init_zoom_semaphore(); // for MoveZoomLensWithPoint
  11 
  12     _init_focus_eventflag();
  13     //_init_nd_eventflag();
  14     //_init_nd_semaphore();
  15     // for MoveIrisWithAv
  16     extern int av_override_semaphore;
  17     extern int _CreateBinarySemaphoreStrictly(int x, int y);
  18     av_override_semaphore = _CreateBinarySemaphoreStrictly(0,0);
  19 }
  20 

/* [<][>][^][v][top][bottom][index][help] */