After fixing the issue #15 in Makefile.OSX
I get a new error:
host.c:25:38: error: too few arguments to function call, expected 3, have 2
if (control_init_usb(0x20B1, 0x1010) != CONTROL_SUCCESS) {
host.c:25:38: error: too few arguments to function call, expected 3, have 2
if (control_init_usb(0x20B1, 0x1010) != CONTROL_SUCCESS) {
../../../lib_device_control/host/control_host.h:23:1: note: 'control_init_usb' declared here
control_ret_t control_init_usb(int vendor_id, int product_id, int interface);
^
1 error generated.
This can be fixed by adding parameter "interface". E.g
if (control_init_usb(0x20B1, 0x1010, 0) != CONTROL_SUCCESS) {
After fixing the issue #15 in Makefile.OSX I get a new error: host.c:25:38: error: too few arguments to function call, expected 3, have 2 if (control_init_usb(0x20B1, 0x1010) != CONTROL_SUCCESS) {
host.c:25:38: error: too few arguments to function call, expected 3, have 2 if (control_init_usb(0x20B1, 0x1010) != CONTROL_SUCCESS) {