diff options
| author | hathach <[email protected]> | 2022-12-14 16:52:28 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-12-16 17:08:37 +0700 |
| commit | 4f0369508450883504e377b40aaec8860c8cb256 (patch) | |
| tree | dbb24cbf44216c9a7eb402c158566ace255ecae2 /examples/host/cdc_msc_hid/src/main.c | |
| parent | 159aa599be42534cd9a37ae03c71c228c3e72e90 (diff) | |
adding tuh_cdc_mount_cb/tuh_cdc_umount_cb
start adding cdc_app.c to example
Diffstat (limited to 'examples/host/cdc_msc_hid/src/main.c')
| -rw-r--r-- | examples/host/cdc_msc_hid/src/main.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/examples/host/cdc_msc_hid/src/main.c b/examples/host/cdc_msc_hid/src/main.c index d26e41e8d..465e457f7 100644 --- a/examples/host/cdc_msc_hid/src/main.c +++ b/examples/host/cdc_msc_hid/src/main.c @@ -35,7 +35,7 @@ //--------------------------------------------------------------------+ void led_blinking_task(void); -extern void cdc_task(void); +extern void cdc_app_task(void); extern void hid_app_task(void); /*------------- MAIN -------------*/ @@ -52,9 +52,9 @@ int main(void) { // tinyusb host task tuh_task(); - led_blinking_task(); - cdc_task(); + led_blinking_task(); + cdc_app_task(); hid_app_task(); } @@ -79,11 +79,6 @@ void tuh_cdc_xfer_isr(uint8_t dev_addr, xfer_result_t event, cdc_pipeid_t pipe_i tuh_cdc_receive(dev_addr, serial_in_buffer, sizeof(serial_in_buffer), true); // waiting for next data } -void cdc_task(void) -{ - -} - //--------------------------------------------------------------------+ // TinyUSB Callbacks //--------------------------------------------------------------------+ |
