Przeglądaj źródła

make control buf static

hathach 6 lat temu
rodzic
commit
7bf01e218d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/device/usbd_control.c

+ 1 - 1
src/device/usbd_control.c

@@ -51,7 +51,7 @@ typedef struct
 
 
 static usbd_control_xfer_t _ctrl_xfer;
 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];
 
 
 
 
 //--------------------------------------------------------------------+
 //--------------------------------------------------------------------+