summaryrefslogtreecommitdiffstats
path: root/plugins/ufo/uca-ufo-camera.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2014-01-30 11:06:10 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2014-01-30 11:06:10 +0100
commit7b00070d5621acdb4dfbee5840bd8babb1e7073f (patch)
treeb48f3d93351cda7a1b77cdb65166366a46badeea /plugins/ufo/uca-ufo-camera.c
parentef4a653b8933c73a4165f644526c70ed785fbb22 (diff)
downloaduca-7b00070d5621acdb4dfbee5840bd8babb1e7073f.tar.gz
uca-7b00070d5621acdb4dfbee5840bd8babb1e7073f.tar.bz2
uca-7b00070d5621acdb4dfbee5840bd8babb1e7073f.tar.xz
uca-7b00070d5621acdb4dfbee5840bd8babb1e7073f.zip
Use MSB of "control" for frequency determination
Diffstat (limited to 'plugins/ufo/uca-ufo-camera.c')
-rw-r--r--plugins/ufo/uca-ufo-camera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ufo/uca-ufo-camera.c b/plugins/ufo/uca-ufo-camera.c
index 0cc7cba..42c915e 100644
--- a/plugins/ufo/uca-ufo-camera.c
+++ b/plugins/ufo/uca-ufo-camera.c
@@ -227,7 +227,7 @@ setup_pcilib (UcaUfoCameraPrivate *priv)
NULL, g_free);
N_PROPERTIES = update_properties (priv);
priv->height = read_register_value (priv->handle, "cmosis_number_lines") + 1;
- priv->frequency = read_register_value (priv->handle, "bit_mode") >> 31;
+ priv->frequency = read_register_value (priv->handle, "control") >> 31;
adc_resolution = read_register_value (priv->handle, "adc_resolution");
switch (adc_resolution) {