aboutsummaryrefslogtreecommitdiff
path: root/gphoto/gphoto.c
diff options
context:
space:
mode:
Diffstat (limited to 'gphoto/gphoto.c')
-rw-r--r--gphoto/gphoto.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gphoto/gphoto.c b/gphoto/gphoto.c
index 94179b2..45b75a6 100644
--- a/gphoto/gphoto.c
+++ b/gphoto/gphoto.c
@@ -88,7 +88,6 @@ void *closeCam(void *gphoto) {
int gp_ret;
gp_camera_free(((gphoto_struct *)gphoto)->camera);
- post("camera free");
// Send state out 2nd outlet.
sys_lock();
@@ -431,11 +430,10 @@ static void *gphoto_new(void) {
return (void *)gphoto;
}
-// Destructor to cleanup camera if its still open.
+// Destructor to cleanup camera if it's still open.
static void *gphoto_free(gphoto_struct *gphoto) {
if (!gphoto->connected) {
gp_camera_free(gphoto->camera);
- post("camera free"); // TODO remove me!
}
}