From e94ce81b045069f12e29ea355c2248ef6254ca0d Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 1 Jul 2013 10:43:55 +0700 Subject: fix compilation error --- tinyusb/class/cdc_host.c | 2 +- tinyusb/class/cdc_host_rndis.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'tinyusb/class') diff --git a/tinyusb/class/cdc_host.c b/tinyusb/class/cdc_host.c index 0f3a8fcaf..f4d82fc6f 100644 --- a/tinyusb/class/cdc_host.c +++ b/tinyusb/class/cdc_host.c @@ -55,7 +55,7 @@ //--------------------------------------------------------------------+ // INTERNAL OBJECT & FUNCTION DECLARATION //--------------------------------------------------------------------+ -STATIC_ cdch_data_t cdch_data[TUSB_CFG_HOST_DEVICE_MAX]; +/*STATIC_*/ cdch_data_t cdch_data[TUSB_CFG_HOST_DEVICE_MAX]; //--------------------------------------------------------------------+ // USBH-CLASS DRIVER API diff --git a/tinyusb/class/cdc_host_rndis.c b/tinyusb/class/cdc_host_rndis.c index 66f429f81..8a0f1f032 100644 --- a/tinyusb/class/cdc_host_rndis.c +++ b/tinyusb/class/cdc_host_rndis.c @@ -88,3 +88,5 @@ static tusb_error_t rndis_body_subtask(void) OSAL_SUBTASK_END } + +#endif -- cgit v1.3.1