summaryrefslogtreecommitdiff
path: root/tinyusb/class
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-01-18 11:49:51 +0700
committerhathach <[email protected]>2013-01-18 11:49:51 +0700
commit25f6cee73ba1a8a1f75456a352bcb864fcad92b7 (patch)
treed09b67b57b55c9c35ff6ef9822f35d215b347c16 /tinyusb/class
parentc16632da0bf8d042388018c667cfbc176ed56436 (diff)
add DEVICE_ROM_DRIVER_ADDR macro in hal to point to rom driver add
add TUSB_ATTR_RAM_SECTION in tinyusb_config.h to abtract usb ram placement to application remove power_api.h (mcu dependency)
Diffstat (limited to 'tinyusb/class')
-rw-r--r--tinyusb/class/cdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/class/cdc.c b/tinyusb/class/cdc.c
index 5fc1cd5fd..0c59b0186 100644
--- a/tinyusb/class/cdc.c
+++ b/tinyusb/class/cdc.c
@@ -320,7 +320,7 @@ TUSB_Error_t tusb_cdc_configured(USBD_HANDLE_T hUsb)
fifo_init (&ffTX, qBuffer[0], CDC_BUFFER_SIZE, false, USB0_IRQn); // TODO USB1 TX is non-overwritable
fifo_init (&ffRX, qBuffer[1], CDC_BUFFER_SIZE, true, USB0_IRQn); // RX is overwritable
#else
- #error No MCU defined" // TODO asbtract MCU
+ #error No MCU defined // TODO asbtract MCU
#endif
return tERROR_NONE;