From 01760794fe7f90e27fa5d3bfca4f089904f459eb Mon Sep 17 00:00:00 2001 From: hathach Date: Fri, 7 Mar 2014 14:54:19 +0700 Subject: lpc1347 mouse & keyboard & cdc works well --- demos/device/src/main.c | 6 ------ demos/device/src/tusb_config.h | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'demos/device/src') diff --git a/demos/device/src/main.c b/demos/device/src/main.c index 890f6eea6..c4e1d785e 100644 --- a/demos/device/src/main.c +++ b/demos/device/src/main.c @@ -133,12 +133,6 @@ OSAL_TASK_FUNCTION( led_blinking_task ) (void* p_task_para) board_leds(led_on_mask, 1 - led_on_mask); led_on_mask = 1 - led_on_mask; // toggle -// uint32_t btn_mask = board_buttons(); -// for(uint8_t i=0; i<32; i++) -// { -// if ( BIT_TEST_(btn_mask, i) ) printf("button %d is pressed\n", i); -// } - OSAL_TASK_LOOP_END } diff --git a/demos/device/src/tusb_config.h b/demos/device/src/tusb_config.h index c0a26ffd3..e4224aa39 100644 --- a/demos/device/src/tusb_config.h +++ b/demos/device/src/tusb_config.h @@ -83,10 +83,10 @@ //------------- CLASS -------------// #define TUSB_CFG_DEVICE_HID_KEYBOARD 0 -#define TUSB_CFG_DEVICE_HID_MOUSE 1 +#define TUSB_CFG_DEVICE_HID_MOUSE 0 #define TUSB_CFG_DEVICE_HID_GENERIC 0 #define TUSB_CFG_DEVICE_MSC 0 -#define TUSB_CFG_DEVICE_CDC 0 +#define TUSB_CFG_DEVICE_CDC 1 //--------------------------------------------------------------------+ // COMMON CONFIGURATION -- cgit v1.3.1