summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-11-03 11:43:07 +0700
committerhathach <[email protected]>2019-11-03 11:43:07 +0700
commit7bf01e218d8325bda8f33ab1bf0649b33282c5b5 (patch)
tree816d88ea55892e99a83cc5b367f256bb4b080472 /src/device
parent164d0db8256fda66ade079a874ad9d3fbef500f3 (diff)
make control buf static
Diffstat (limited to 'src/device')
-rw-r--r--src/device/usbd_control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd_control.c b/src/device/usbd_control.c
index d9eb25195..80648fd75 100644
--- a/src/device/usbd_control.c
+++ b/src/device/usbd_control.c
@@ -51,7 +51,7 @@ typedef struct
static usbd_control_xfer_t _ctrl_xfer;
-CFG_TUSB_MEM_SECTION CFG_TUSB_MEM_ALIGN uint8_t _usbd_ctrl_buf[CFG_TUD_ENDPOINT0_SIZE];
+CFG_TUSB_MEM_SECTION CFG_TUSB_MEM_ALIGN static uint8_t _usbd_ctrl_buf[CFG_TUD_ENDPOINT0_SIZE];
//--------------------------------------------------------------------+