ft4222: move calls to libft4222.so to use dlopen
Makes the lib a runtime only dependency Signed-off-by: Thomas Ingleby <thomas.ingleby@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Brendan Le Foll
parent
441a24aaea
commit
7f78b6760f
@@ -28,12 +28,13 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <dlfcn.h>
|
||||
#include "mraa_internal.h"
|
||||
|
||||
mraa_result_t mraa_ftdi_ft4222_init();
|
||||
mraa_result_t mraa_ftdi_ft4222_get_version(unsigned int* versionChip, unsigned int* versionLib);
|
||||
mraa_board_t* mraa_ftdi_ft4222();
|
||||
|
||||
void *libft4222_lib;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user