aboutsummaryrefslogtreecommitdiffstats
path: root/cphidgetgeneric.c
diff options
context:
space:
mode:
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);