/alps/ipecamera

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/ipecamera

« back to all changes in this revision

Viewing changes to data.c

  • Committer: Suren A. Chilingaryan
  • Date: 2015-08-05 17:27:19 UTC
  • Revision ID: csa@suren.me-20150805172719-nbqb4pig9y135pxy
Introduce API debugging

Show diffs side-by-side

added added

removed removed

Lines of Context:
189
189
        return PCILIB_ERROR_NOTINITIALIZED;
190
190
    }
191
191
 
 
192
    ipecamera_debug(API, "ipecamera: get (data)");
 
193
 
192
194
    buf_ptr = ipecamera_resolve_event_id(ctx, event_id);
193
195
    if (buf_ptr < 0) return PCILIB_ERROR_OVERWRITTEN;
194
196
    
272
274
        pthread_rwlock_unlock(&ctx->frame[buf_ptr].mutex);
273
275
    }
274
276
 
 
277
    ipecamera_debug(API, "ipecamera: return (data)");
 
278
 
275
279
    return 0;
276
280
}