diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ufo/uca-ufo-camera.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <string.h> #include <pcilib.h> #include <errno.h> +#include <math.h> #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; |