summaryrefslogtreecommitdiffstats
path: root/src/cameras
diff options
context:
space:
mode:
Diffstat (limited to 'src/cameras')
-rw-r--r--src/cameras/uca-ufo-camera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cameras/uca-ufo-camera.c b/src/cameras/uca-ufo-camera.c
index 66a42c4..09704af 100644
--- a/src/cameras/uca-ufo-camera.c
+++ b/src/cameras/uca-ufo-camera.c
@@ -358,7 +358,7 @@ uca_ufo_camera_get_property(GObject *object, guint property_id, GValue *value, G
guint32 temperature;
temperature = read_register_value (priv->handle, "sensor_temperature");
- g_value_set_double (value, a * temperature - b);
+ g_value_set_double (value, a * (temperature - b));
}
break;
case PROP_FPGA_TEMPERATURE: