From 7b00070d5621acdb4dfbee5840bd8babb1e7073f Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 30 Jan 2014 11:06:10 +0100 Subject: Use MSB of "control" for frequency determination --- plugins/ufo/uca-ufo-camera.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3