summaryrefslogtreecommitdiffstats
path: root/src/uca.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-09 12:25:11 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-09 12:25:11 +0100
commit432d6083dd9cbe50579780c88206733776898e9d (patch)
treedad91a6469dfbe7d39cf946b57244fed602743ec /src/uca.c
parentcd7590bac56800586c4aadef077d1effe03b00c4 (diff)
downloadlibuca-432d6083dd9cbe50579780c88206733776898e9d.tar.gz
libuca-432d6083dd9cbe50579780c88206733776898e9d.tar.bz2
libuca-432d6083dd9cbe50579780c88206733776898e9d.tar.xz
libuca-432d6083dd9cbe50579780c88206733776898e9d.zip
Set correct exposure. Use µs for all time-related units.
Diffstat (limited to 'src/uca.c')
-rw-r--r--src/uca.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/uca.c b/src/uca.c
index 8b33d08..3e016d1 100644
--- a/src/uca.c
+++ b/src/uca.c
@@ -54,11 +54,11 @@ static struct uca_property_t property_map[UCA_PROP_LAST+1] = {
{ "Image.Offset.y.Max", uca_pixel, uca_uint32t, uca_read },
{ "Image.Bitdepth", uca_bits, uca_uint32t, uca_read},
{ "Time.Exposure", uca_us, uca_uint32t, uca_readwrite },
- { "Time.Exposure.Min", uca_ns, uca_uint32t, uca_read },
- { "Time.Exposure.Max", uca_ms, uca_uint32t, uca_read },
+ { "Time.Exposure.Min", uca_us, uca_uint32t, uca_read },
+ { "Time.Exposure.Max", uca_us, uca_uint32t, uca_read },
{ "Time.Delay", uca_us, uca_uint32t, uca_readwrite },
- { "Time.Delay.Min", uca_ns, uca_uint32t, uca_read },
- { "Time.Delay.Max", uca_ms, uca_uint32t, uca_read },
+ { "Time.Delay.Min", uca_us, uca_uint32t, uca_read },
+ { "Time.Delay.Max", uca_us, uca_uint32t, uca_read },
{ "Time.Framerate", uca_fps, uca_uint32t, uca_read },
{ "Temperature.Sensor", uca_dc, uca_uint32t, uca_read },
{ "Temperature.Camera", uca_dc, uca_uint32t, uca_read },