diff options
author | d3v1c3nv11 <d3v1c3nv11@users.noreply.github.com> | 2017-11-06 16:35:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-06 16:35:04 +0200 |
commit | ad4b57164163cf679982ffc9dc8bb1b5684bb27b (patch) | |
tree | d4979a6dd073653fe1c85e6412c309595eacbd3d | |
parent | 5878e5478d6d1c5e14e4fc52d919345de51dd625 (diff) |
Update KeyboardMouse.c
-rw-r--r-- | TERES-HID/KeyboardMouse.c | 2 |
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; } + } |