aboutsummaryrefslogtreecommitdiffstats
path: root/cphidgetgeneric.c
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-10-19 19:38:06 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2012-10-19 19:38:06 +0100
commit2891593727a0151a66ed7860fed6399548c74c02 (patch)
tree1cb52da179b4ab23ba2a22f44d88ea3523f51f0c /cphidgetgeneric.c
parentcff96463a694573a9f87b014482a45c25bf4c7b0 (diff)
parent8f3c91e91b634adaca77dac6cf314445cceefc78 (diff)
downloadlibphidget21-2891593727a0151a66ed7860fed6399548c74c02.tar.gz
Merge tag 'upstream/2.1.8.20120912'
Upstream version 2.1.8.20120912
Diffstat (limited to 'cphidgetgeneric.c')
-rw-r--r--cphidgetgeneric.c10
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);