This source file includes following definitions.
- lens_get_focus_pos
- lens_get_focus_pos_from_lens
- DoMFLock
- UnlockMF
1 #include "../generic/wrappers.c"
2
3
4
5
6 long lens_get_focus_pos()
7 {
8 return _GetFocusLensSubjectDistance();
9 }
10
11 long lens_get_focus_pos_from_lens()
12 {
13 return _GetFocusLensSubjectDistanceFromLens();
14 }
15
16
17
18
19
20 int DoMFLock(void)
21 {
22 if (!camera_info.state.mode_play) {
23 _SS_MFOn();
24 return(1);
25 }
26 return(0);
27 }
28
29 int UnlockMF(void)
30 {
31 if (!camera_info.state.mode_play) {
32 _SS_MFOff();
33 return(1);
34 }
35 return(0);
36 }
37