diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-10-19 19:38:06 +0100 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-10-19 19:38:06 +0100 |
commit | 8f3c91e91b634adaca77dac6cf314445cceefc78 (patch) | |
tree | 8a779a28ccfbbfae413f6f7df21fb0a8650d3747 /cphidgetgeneric.c | |
parent | bd7a4f258643bf72d5e97f86f0f2272b381ed1ba (diff) | |
download | libphidget21-8f3c91e91b634adaca77dac6cf314445cceefc78.tar.gz |
Imported Upstream version 2.1.8.20120912upstream/2.1.8.20120912
Diffstat (limited to 'cphidgetgeneric.c')
-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);
|