Skip to content

Commit cf306ed

Browse files
authored
Merge pull request #2406 from IngHK/move_acm_open
[CDC] host: moved acm_open to other acm prototypes
2 parents ae364b1 + 91f65a3 commit cf306ed

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/class/cdc/cdc_host.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ static cdch_interface_t cdch_data[CFG_TUH_CDC];
8080
//--------------------------------------------------------------------+
8181

8282
//------------- ACM prototypes -------------//
83+
static bool acm_open(uint8_t daddr, tusb_desc_interface_t const *itf_desc, uint16_t max_len);
8384
static void acm_process_config(tuh_xfer_t* xfer);
8485

8586
static bool acm_set_line_coding(cdch_interface_t* p_cdc, cdc_line_coding_t const* line_coding, tuh_xfer_cb_t complete_cb, uintptr_t user_data);
@@ -605,8 +606,6 @@ bool cdch_xfer_cb(uint8_t daddr, uint8_t ep_addr, xfer_result_t event, uint32_t
605606
// Enumeration
606607
//--------------------------------------------------------------------+
607608

608-
static bool acm_open(uint8_t daddr, tusb_desc_interface_t const *itf_desc, uint16_t max_len);
609-
610609
static bool open_ep_stream_pair(cdch_interface_t* p_cdc, tusb_desc_endpoint_t const *desc_ep)
611610
{
612611
for(size_t i=0; i<2; i++)

0 commit comments

Comments
 (0)