summaryrefslogtreecommitdiff
path: root/TERES-HID/KeyboardMouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'TERES-HID/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;
}
+
}