summaryrefslogtreecommitdiff
path: root/tinyusb/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-11-21 13:54:29 +0700
committerhathach <[email protected]>2013-11-21 13:54:29 +0700
commitc303154b7a2af8e934308d9115e7b6da23c66419 (patch)
treeed00100b5b0f6b71789702f8f1eee404b8639aed /tinyusb/device
parentc461c72ac2ddf6f89ba533e98f34bba72f8c1470 (diff)
add class mounted callback for hid mouse/keyboard & refractor mouse/keyboard app
Diffstat (limited to 'tinyusb/device')
-rw-r--r--tinyusb/device/usbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/device/usbd.c b/tinyusb/device/usbd.c
index aefdb78e1..fd62874b3 100644
--- a/tinyusb/device/usbd.c
+++ b/tinyusb/device/usbd.c
@@ -163,7 +163,7 @@ tusb_error_t usbd_body_subtask(void)
{
if ( TUSB_REQUEST_GET_DESCRIPTOR == control_request.bRequest )
{
- static uint8_t const * p_buffer = NULL;
+ static uint8_t* p_buffer = NULL;
static uint16_t length = 0;
error = get_descriptor_subtask(coreid, &control_request, &p_buffer, &length);