Skip to content

Commit 293a622

Browse files
committed
rename ftdi_host to ftdi_sio
1 parent cf95b44 commit 293a622

File tree

3 files changed

+5
-14
lines changed

3 files changed

+5
-14
lines changed

examples/host/cdc_msc_hid/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.5)
1+
cmake_minimum_required(VERSION 3.17)
22

33
include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake)
44

src/class/cdc/cdc_host.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#include "cdc_host.h"
3535

3636
#if CFG_TUH_CDC_FTDI
37-
#include "serial/ftdi_host.h"
37+
#include "serial/ftdi_sio.h"
3838
#endif
3939

4040

src/class/cdc/serial/ftdi_host.h renamed to src/class/cdc/serial/ftdi_sio.h

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
* THE SOFTWARE.
2323
*/
2424

25-
#ifndef TUSB_FTDI_HOST_H
26-
#define TUSB_FTDI_HOST_H
25+
#ifndef TUSB_FTDI_SIO_H
26+
#define TUSB_FTDI_SIO_H
2727

2828
// VID/PID for matching FTDI devices
2929
#define TU_FTDI_VID 0x0403
@@ -246,13 +246,4 @@
246246
#define FTDI_RS_TEMT (1<<6)
247247
#define FTDI_RS_FIFO (1<<7)
248248

249-
//--------------------------------------------------------------------+
250-
// Internal Class Driver API
251-
//--------------------------------------------------------------------+
252-
void ftdih_init (void);
253-
bool ftdih_open (uint8_t daddr, tusb_desc_interface_t const *itf_desc, uint16_t max_len);
254-
bool ftdih_set_config (uint8_t daddr, uint8_t itf_num);
255-
bool ftdih_xfer_cb (uint8_t daddr, uint8_t ep_addr, xfer_result_t event, uint32_t xferred_bytes);
256-
void ftdih_close (uint8_t daddr);
257-
258-
#endif //TUSB_FTDI_HOST_H
249+
#endif //TUSB_FTDI_SIO_H

0 commit comments

Comments
 (0)