From ad4b57164163cf679982ffc9dc8bb1b5684bb27b Mon Sep 17 00:00:00 2001 From: d3v1c3nv11 Date: Mon, 6 Nov 2017 16:35:04 +0200 Subject: Update KeyboardMouse.c --- TERES-HID/KeyboardMouse.c | 2 ++ 1 file changed, 2 insertions(+) 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; } + } -- cgit v1.2.3