From 1f58dac536f4344908efce496b1606afcb6be608 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 20 Feb 2014 16:23:32 +0100 Subject: Fix ufo compilation --- plugins/ufo/uca-ufo-camera.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/ufo') diff --git a/plugins/ufo/uca-ufo-camera.c b/plugins/ufo/uca-ufo-camera.c index f353356..273d3dd 100644 --- a/plugins/ufo/uca-ufo-camera.c +++ b/plugins/ufo/uca-ufo-camera.c @@ -22,6 +22,7 @@ #include #include #include +#include #include "uca-camera.h" #include "uca-ufo-camera.h" @@ -512,6 +513,7 @@ uca_ufo_camera_get_property(GObject *object, guint property_id, GValue *value, G readout_time = exposure_time + overhead_time + image_readout_time; delay_time = trigger_period * 8.0 * 1e-9; framerate = 1.0 / (readout_time + delay_time); + framerate *= 1000 * 1000; /* clock_period is in MHz */ g_value_set_double(value, framerate); } break; -- cgit v1.2.3