summaryrefslogtreecommitdiffstats
path: root/plugins/mock
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-10-16 12:40:18 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2012-10-16 12:40:18 +0200
commitde2e8e3191eae37b91f672a03e028a35c8863c9d (patch)
treebe30db890721ef2ba676fad75d081184f03f2c90 /plugins/mock
parentd8743d20b93d34497183d05ccb17519194ec5abb (diff)
downloaduca-de2e8e3191eae37b91f672a03e028a35c8863c9d.tar.gz
uca-de2e8e3191eae37b91f672a03e028a35c8863c9d.tar.bz2
uca-de2e8e3191eae37b91f672a03e028a35c8863c9d.tar.xz
uca-de2e8e3191eae37b91f672a03e028a35c8863c9d.zip
Add temperature unit and descriptions for pco
Diffstat (limited to 'plugins/mock')
-rw-r--r--plugins/mock/uca-mock-camera.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mock/uca-mock-camera.c b/plugins/mock/uca-mock-camera.c
index 38caf0d..bf3124e 100644
--- a/plugins/mock/uca-mock-camera.c
+++ b/plugins/mock/uca-mock-camera.c
@@ -397,6 +397,8 @@ static void uca_mock_camera_init(UcaMockCamera *self)
g_value_init(&val, G_TYPE_UINT);
g_value_set_uint(&val, 1);
g_value_array_append(self->priv->binnings, &val);
+
+ uca_camera_register_unit (UCA_CAMERA (self), "frame-rate", UCA_UNIT_COUNT);
}
G_MODULE_EXPORT UcaCamera *