1 /* 2 *** 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 16 // for MoveIrisWithAv 17 extern int av_override_semaphore; 18 extern int _CreateBinarySemaphoreStrictly(int x, int y); 19 av_override_semaphore = _CreateBinarySemaphoreStrictly(0,0); 20 }