summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authord3v1c3nv11 <d3v1c3nv11@users.noreply.github.com>2017-11-06 16:35:04 +0200
committerGitHub <noreply@github.com>2017-11-06 16:35:04 +0200
commitad4b57164163cf679982ffc9dc8bb1b5684bb27b (patch)
treed4979a6dd073653fe1c85e6412c309595eacbd3d
parent5878e5478d6d1c5e14e4fc52d919345de51dd625 (diff)
Update KeyboardMouse.c
-rw-r--r--TERES-HID/KeyboardMouse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/TERES-HID/KeyboardMouse.c b/TERES-HID/KeyboardMouse.c
index 416a59e..d089fa9 100644
--- a/TERES-HID/KeyboardMouse.c
+++ b/TERES-HID/KeyboardMouse.c
@@ -59,6 +59,7 @@ static uint8_t PrevKeyboardHIDReportBuffer[sizeof(USB_KeyboardReport_Data_t)];
static uint8_t PrevMouseHIDReportBuffer[sizeof(USB_WheelMouseReport_Data_t)];
+
int limited(int value)
{
if (value < 0)
@@ -803,6 +804,7 @@ itsDone = true;
*ReportSize = sizeof(USB_WheelMouseReport_Data_t);
return true;
}
+
}