File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
device/esp_tinyusb/test_apps/teardown_device/main
host/class/cdc/usb_host_cdc_acm/test_app/main Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 2222#include "unity.h"
2323#include "tinyusb.h"
2424#include "tinyusb_default_config.h"
25- #include "tusb_cdc_acm.h"
2625
2726static const char * TAG = "teardown" ;
2827
Original file line number Diff line number Diff line change 88#include "sdkconfig.h"
99#include "tinyusb.h"
1010#include "tinyusb_default_config.h"
11- #include "tusb_cdc_acm .h"
11+ #include "tinyusb_cdc_acm .h"
1212
1313static uint8_t buf [CONFIG_TINYUSB_CDC_RX_BUFSIZE + 1 ];
1414static void tinyusb_cdc_rx_callback (int itf , cdcacm_event_t * event )
@@ -85,10 +85,10 @@ void run_usb_dual_cdc_device(void)
8585 .callback_line_coding_changed = NULL
8686 };
8787
88- ESP_ERROR_CHECK (tusb_cdc_acm_init (& amc_cfg ));
88+ ESP_ERROR_CHECK (tinyusb_cdcacm_init (& amc_cfg ));
8989#if (CONFIG_TINYUSB_CDC_COUNT > 1 )
9090 amc_cfg .cdc_port = TINYUSB_CDC_ACM_1 ;
91- ESP_ERROR_CHECK (tusb_cdc_acm_init (& amc_cfg ));
91+ ESP_ERROR_CHECK (tinyusb_cdcacm_init (& amc_cfg ));
9292#endif
9393
9494 printf ("USB initialization DONE\n" );
You can’t perform that action at this time.
0 commit comments