Home
last modified time | relevance | path

Searched refs:numDevs (Results 1 – 1 of 1) sorted by relevance

/hardware/bsp/intel/peripheral/libmraa/src/usb/
Dftdi_ft4222.c61 DWORD numDevs = 0; in mraa_ftdi_ft4222_init() local
65 ftStatus = FT_CreateDeviceInfoList(&numDevs); in mraa_ftdi_ft4222_init()
71 devInfo = calloc((size_t) numDevs, sizeof(FT_DEVICE_LIST_INFO_NODE)); in mraa_ftdi_ft4222_init()
77 ftStatus = FT_GetDeviceInfoList(devInfo, &numDevs); in mraa_ftdi_ft4222_init()
78 syslog(LOG_NOTICE, "FT_GetDeviceInfoList returned %d devices\n", numDevs); in mraa_ftdi_ft4222_init()
83 if (numDevs < 2) { in mraa_ftdi_ft4222_init()
87 if(numDevs > 2) { in mraa_ftdi_ft4222_init()