diff options
Diffstat (limited to 'examples/device')
| -rw-r--r-- | examples/device/cdc_msc_hid/ses/lpc13xx/lpc13xx.emProject | 17 | ||||
| -rw-r--r-- | examples/device/cdc_msc_hid/src/main.c | 2 | ||||
| -rw-r--r-- | examples/device/cdc_msc_hid_freertos/src/main.c | 2 |
3 files changed, 2 insertions, 19 deletions
diff --git a/examples/device/cdc_msc_hid/ses/lpc13xx/lpc13xx.emProject b/examples/device/cdc_msc_hid/ses/lpc13xx/lpc13xx.emProject index 57e97c2da..1826a9220 100644 --- a/examples/device/cdc_msc_hid/ses/lpc13xx/lpc13xx.emProject +++ b/examples/device/cdc_msc_hid/ses/lpc13xx/lpc13xx.emProject @@ -59,7 +59,6 @@ <folder Name="nxp"> <folder Name="lpc_chip_13xx"> <folder Name="inc"> - <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/adc_13xx.h" /> <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/chip.h" /> <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/clock_13xx.h" /> <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/cmsis.h" /> @@ -67,29 +66,13 @@ <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/core_cm3.h" /> <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/core_cmFunc.h" /> <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/core_cmInstr.h" /> - <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/error.h" /> - <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/flash_13xx.h" /> - <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/fmc_13xx.h" /> <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/gpio_13xx_1.h" /> <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/gpio_13xx_2.h" /> - <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/gpiogroup_13xx.h" /> - <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/i2c_13xx.h" /> - <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/i2cm_13xx.h" /> <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/iocon_13xx.h" /> <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/lpc_types.h" /> - <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/pinint_13xx.h" /> - <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/pmu_13xx.h" /> - <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/ring_buffer.h" /> - <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/ritimer_13xx.h" /> - <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/romapi_13xx.h" /> - <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/ssp_13xx.h" /> - <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/stopwatch.h" /> <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/sys_config.h" /> <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/sysctl_13xx.h" /> - <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/timer_13xx.h" /> <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/uart_13xx.h" /> - <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/usbd_13xx.h" /> - <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/inc/wwdt_13xx.h" /> </folder> <folder Name="src"> <file file_name="../../../../../hw/mcu/nxp/lpc_chip_13xx/src/chip_13xx.c" /> diff --git a/examples/device/cdc_msc_hid/src/main.c b/examples/device/cdc_msc_hid/src/main.c index 03bc8a879..d88bd3726 100644 --- a/examples/device/cdc_msc_hid/src/main.c +++ b/examples/device/cdc_msc_hid/src/main.c @@ -201,7 +201,7 @@ void led_blinking_task(void) if ( !tu_timeout_expired(&tm) ) return; // not enough time tu_timeout_reset(&tm); - board_led_control(BOARD_LED0, led_state); + board_led_control(led_state); led_state = 1 - led_state; // toggle } diff --git a/examples/device/cdc_msc_hid_freertos/src/main.c b/examples/device/cdc_msc_hid_freertos/src/main.c index d5a5d0c2c..fbe1ec93e 100644 --- a/examples/device/cdc_msc_hid_freertos/src/main.c +++ b/examples/device/cdc_msc_hid_freertos/src/main.c @@ -216,7 +216,7 @@ void led_blinky_cb(TimerHandle_t xTimer) (void) xTimer; static bool led_state = false; - board_led_control(BOARD_LED0, led_state); + board_led_control(led_state); led_state = 1 - led_state; // toggle } |
