diff options
| author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-12-05 23:35:47 +0000 | 
|---|---|---|
| committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-12-05 23:35:47 +0000 | 
| commit | d793256d203fde3090d3729f70e0595674fa48d6 (patch) | |
| tree | 3ef1aefbe45529a2063630b05a7be6dcd2c13fbc /cphidgetgeneric.c | |
| parent | 3d9394c18ca528ac78197007d1a2dfff6f401920 (diff) | |
| parent | 8f3c91e91b634adaca77dac6cf314445cceefc78 (diff) | |
| download | libphidget21-d793256d203fde3090d3729f70e0595674fa48d6.tar.gz | |
Merge tag 'upstream/2.1.8.20120912'
Diffstat (limited to '')
| -rw-r--r-- | cphidgetgeneric.c | 10 | 
1 files changed, 0 insertions, 10 deletions
| diff --git a/cphidgetgeneric.c b/cphidgetgeneric.c index 4534355..011fac6 100644 --- a/cphidgetgeneric.c +++ b/cphidgetgeneric.c @@ -26,12 +26,6 @@ CPHIDGETINIT(Generic)  	phid->out = phid->phid.outputReportByteLength;
  	phid->in = phid->phid.inputReportByteLength;
 -	
 -#ifdef _WINDOWS
 -	phid->out--;
 -	phid->in--;
 -#endif
 -
  	return EPHIDGET_OK;
  }
 @@ -41,10 +35,6 @@ CPHIDGETDATA(Generic)  	TESTPTR(phid);
  	TESTPTR(buffer);
 -#ifdef _WINDOWS
 -	length--;
 -#endif
 -
  	FIRE(Packet, buffer, length);
  	memcpy(phid->lastPacket, buffer, length);
 | 
