summaryrefslogtreecommitdiffstats
path: root/src/cameras
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-07-27 14:55:35 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-07-27 14:55:35 +0200
commit9279bb496b11e349839609d962e40d16fd27c48e (patch)
tree3b85974128ff1eba592a78dcd4d47021cf71c533 /src/cameras
parentacc8d39288bdd4c27308d748b5af1b52949bfd0b (diff)
downloaduca-9279bb496b11e349839609d962e40d16fd27c48e.tar.gz
uca-9279bb496b11e349839609d962e40d16fd27c48e.tar.bz2
uca-9279bb496b11e349839609d962e40d16fd27c48e.tar.xz
uca-9279bb496b11e349839609d962e40d16fd27c48e.zip
Use prefixed "exp_time"
Diffstat (limited to 'src/cameras')
-rw-r--r--src/cameras/uca-ufo-camera.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cameras/uca-ufo-camera.c b/src/cameras/uca-ufo-camera.c
index 66d2f6d..fc27b1b 100644
--- a/src/cameras/uca-ufo-camera.c
+++ b/src/cameras/uca-ufo-camera.c
@@ -305,7 +305,7 @@ static void uca_ufo_camera_set_property(GObject *object, guint property_id, cons
case PROP_EXPOSURE_TIME:
{
pcilib_register_value_t reg_value = (pcilib_register_value_t) EXPOSURE_TIME_SCALE * g_value_get_double(value);
- pcilib_write_register(priv->handle, NULL, "exp_time", reg_value);
+ pcilib_write_register(priv->handle, NULL, "cmosis_exp_time", reg_value);
}
break;
case PROP_ROI_X:
@@ -380,7 +380,7 @@ uca_ufo_camera_get_property(GObject *object, guint property_id, GValue *value, G
}
break;
case PROP_EXPOSURE_TIME:
- g_value_set_double (value, read_register_value (priv->handle, "exp_time") / EXPOSURE_TIME_SCALE);
+ g_value_set_double (value, read_register_value (priv->handle, "cmosis_exp_time") / EXPOSURE_TIME_SCALE);
break;
case PROP_HAS_STREAMING:
g_value_set_boolean(value, TRUE);