Hi Alexis, check LEPTON_SYS.c:
LEP_RESULT LEP_OpenPort(LEP_UINT16 portID, |
LEP_CAMERA_PORT_E portType, |
LEP_CAMERA_PORT_DESC_T_PTR portDescPtr)
you never populate the values directly. If you search for LEP_OpenPort in the code on github, you can find multiple examples.
most (if not all) are of the type:
LEP_CAMERA_PORT_DESC_T port;
LEP_OpenPort(1, LEP_CCI_TWI, 400, &port);
you can then use the port variable as a gateway to the API.