diff options
Diffstat (limited to 'firmware/usbstack')
-rw-r--r-- | firmware/usbstack/usb_hid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/usbstack/usb_hid.c b/firmware/usbstack/usb_hid.c index e1ae75c0f9..4eb25841bb 100644 --- a/firmware/usbstack/usb_hid.c +++ b/firmware/usbstack/usb_hid.c | |||
@@ -277,7 +277,7 @@ void buf_dump(unsigned char *buf, size_t size) | |||
277 | #define buf_dump(...) | 277 | #define buf_dump(...) |
278 | #endif | 278 | #endif |
279 | 279 | ||
280 | uint8_t buf_set_keyboard(unsigned char *buf, int id) | 280 | static uint8_t buf_set_keyboard(unsigned char *buf, int id) |
281 | { | 281 | { |
282 | memset(buf, 0, 7); | 282 | memset(buf, 0, 7); |
283 | 283 | ||
@@ -289,7 +289,7 @@ uint8_t buf_set_keyboard(unsigned char *buf, int id) | |||
289 | return 7; | 289 | return 7; |
290 | } | 290 | } |
291 | 291 | ||
292 | uint8_t buf_set_consumer(unsigned char *buf, int id) | 292 | static uint8_t buf_set_consumer(unsigned char *buf, int id) |
293 | { | 293 | { |
294 | memset(buf, 0, 4); | 294 | memset(buf, 0, 4); |
295 | buf[0] = (uint8_t)id; | 295 | buf[0] = (uint8_t)id; |