~ubuntu-branches/ubuntu/precise/qc-usb/precise

« back to all changes in this revision

Viewing changes to testquickcam/testquickcam.c

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2005-04-18 00:54:40 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050418005440-o6epqv8w4e0i7vrd
Tags: 0.6.3-1
New upstream release, with better 2.6.11 fix. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Test quickcam: Logitech Quickcam Express Video Camera driver test tool.
 
2
 * Test quickcam: Logitech QuickCam Express Video Camera driver test tool.
3
3
 * Copyright (C) 2001 Nikolas Zimmermann
4
4
 *
5
5
 * This program is free software; you can redistribute it and/or modify
29
29
 
30
30
#include "testquickcam.h"
31
31
 
32
 
#define VERSION "$Id: testquickcam.c,v 1.2 2003/02/04 10:19:08 tuukkat Exp $"
 
32
#define VERSION "$Id: testquickcam.c,v 1.3 2004/07/28 10:13:12 tuukkat Exp $"
33
33
 
34
34
int open_camera(const char *devicename)
35
35
{
98
98
        k += sprintf(&tmp[k], "%02x ", data[i]);
99
99
    }
100
100
    
101
 
    if (k > 0)
 
101
    if (k > 0)
 
102
 
102
103
        printf("%s\n", tmp);
103
104
}
104
105