Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
magic-lantern
magic-lantern
Commits
d1f749a7a91b
Commit
e24fc8cf
authored
Jan 24, 2017
by
alex@thinkpad
Browse files
api_test.lua: minor typo
--HG-- branch : lua_fix
parent
a13ca46c127e
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/api_test.lua
View file @
d1f749a7
...
@@ -437,7 +437,7 @@ function test_camera_exposure()
...
@@ -437,7 +437,7 @@ function test_camera_exposure()
-- note: when using F-numbers, the difference may be larger, because of the rounding done
-- note: when using F-numbers, the difference may be larger, because of the rounding done
-- to match Canon values (e.g. raw 48 would be f/5.66 (f/5.7), instead of Canon's f/5.6)
-- to match Canon values (e.g. raw 48 would be f/5.66 (f/5.7), instead of Canon's f/5.6)
if
(
d
>
1
.
5
/
8
+
extra_tol
)
then
if
(
d
>
1
.
5
/
8
+
extra_tol
)
then
printf
(
"Error: aperture delta %s EV (expected < %s,
f/
%s, method=%d)\n"
,
d
,
1
.
5
/
8
+
extra_tol
,
camera
.
aperture
,
method
)
printf
(
"Error: aperture delta %s EV (expected < %s, %s, method=%d)\n"
,
d
,
1
.
5
/
8
+
extra_tol
,
camera
.
aperture
,
method
)
end
end
-- aperture and Av (APEX) should be consistent
-- aperture and Av (APEX) should be consistent
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment