Change-Id: I772387a06a1ada66c4421cb1b90336fc54ad3925
Signed-off-by: Pawel Szewczyk <p.szewczyk@samsung.com>
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR}/include
- ${CMAKE_SOURCE_DIR}/function/include )
+ ${CMAKE_SOURCE_DIR}/function/include
+ ${CMAKE_SOURCE_DIR}/config/include )
SET( GADGET_SRC
${CMAKE_CURRENT_SOURCE_DIR}/src/gadget.c
#include "common.h"
#include "settings.h"
#include "function.h"
+#include "configuration.h"
/**
* @brief Get implicite gadget
usbg_gadget_attrs g_attrs;
usbg_udc *u;
usbg_function *f;
+ usbg_config *c;
int usbg_ret;
const char *name;
gt_print_function_libusbg(f, opts);
}
- /* TODO print config */
+ usbg_for_each_config(c, g) {
+ gt_print_config_libusbg(c, opts);
+ }
}
return 0;