/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 base.c

  • Committer: Suren A. Chilingaryan
  • Date: 2015-08-12 15:37:04 UTC
  • Revision ID: csa@suren.me-20150812153704-u8vfxrs1jz00w3zc
Handle frame headers split between 2 packets

Show diffs side-by-side

added added

removed removed

Lines of Context:
351
351
    ctx->parse_data = (flags&PCILIB_EVENT_FLAG_RAW_DATA_ONLY)?0:1;
352
352
    ctx->cur_size = 0;
353
353
 
 
354
#ifdef IPECAMERA_BUG_MULTIFRAME_HEADERS
 
355
    ctx->saved_header_size = 0;
 
356
#endif /* IPECAMERA_BUG_MULTIFRAME_HEADERS */
 
357
 
354
358
    switch (ctx->firmware) {
355
359
     case IPECAMERA_FIRMWARE_UFO5:
356
360
        ctx->dim.width = CMOSIS_WIDTH;