rename tusb_device_is_configured

remove dcd_lpc18xx_lpc43xx.h and dcd_lpc11uxx_lpc13xx move define to hal
This commit is contained in:
hathach
2013-06-04 10:43:58 +07:00
parent a3ed66344d
commit cdc830782f
9 changed files with 90 additions and 179 deletions

View File

@@ -46,7 +46,7 @@ int main(void)
}
#if TUSB_CFG_DEVICE_CDC && 0
if (usb_isConfigured())
if (tusb_device_is_configured())
{
uint8_t cdc_char;
if( tusb_cdc_getc(&cdc_char) )
@@ -93,7 +93,7 @@ void led_blinking_task(void * p_para)
#if TUSB_CFG_DEVICE_HID_KEYBOARD
void keyboard_device_app_task(void * p_para)
{
if (usb_isConfigured())
if (tusb_device_is_configured())
{
static uint32_t count =0;
if (count < 4)
@@ -112,7 +112,7 @@ void keyboard_device_app_task(void * p_para)
#if TUSB_CFG_DEVICE_HID_MOUSE
void mouse_device_app_task(void * p_para)
{
if (usb_isConfigured())
if (tusb_device_is_configured())
{
static uint32_t count =0;
if (count < 8)