summaryrefslogtreecommitdiffstats
path: root/plugins/dexela/uca-dexela-camera.c
diff options
context:
space:
mode:
authorMihael Koep <koep@schneide.com>2014-03-19 14:54:53 +0100
committerMihael Koep <koep@schneide.com>2014-04-09 12:19:31 +0200
commit1b78ff35cd7a13828621bb664772227c3954902a (patch)
treebfd1078c1bc812efe7d50c2a6befaedfd30ca050 /plugins/dexela/uca-dexela-camera.c
parent6ea92130f1c791007b417e41b39e21f07d644a3c (diff)
downloaduca-1b78ff35cd7a13828621bb664772227c3954902a.tar.gz
uca-1b78ff35cd7a13828621bb664772227c3954902a.tar.bz2
uca-1b78ff35cd7a13828621bb664772227c3954902a.tar.xz
uca-1b78ff35cd7a13828621bb664772227c3954902a.zip
Update dexela plugin to libdexela 1.1.0
Diffstat (limited to 'plugins/dexela/uca-dexela-camera.c')
-rw-r--r--plugins/dexela/uca-dexela-camera.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/dexela/uca-dexela-camera.c b/plugins/dexela/uca-dexela-camera.c
index 0003f22..aa0a049 100644
--- a/plugins/dexela/uca-dexela-camera.c
+++ b/plugins/dexela/uca-dexela-camera.c
@@ -18,7 +18,7 @@
#include <string.h>
#include <gmodule.h>
#include "uca-dexela-camera.h"
-#include "dexela_api.h"
+#include "dexela/dexela_api.h"
#define UCA_DEXELA_CAMERA_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE((obj), UCA_TYPE_DEXELA_CAMERA, UcaDexelaCameraPrivate))
@@ -147,7 +147,7 @@ UcaDexelaCamera *uca_dexela_camera_new(GError **error)
*/
GObjectClass *camera_class = G_OBJECT_CLASS (UCA_CAMERA_GET_CLASS (camera));
// TODO implement error checking
- dexela_open_detector("/usr/share/dexela/dexela-1207_32.fmt");
+ dexela_open_detector(DEFAULT_FMT_FILE_PATH);
dexela_init_serial_connection();
priv->bits = dexela_get_bit_depth();
priv->width = dexela_get_width();