MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / call_config

Method call_config

src/board_controller/dyn_lib_board.cpp:317–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315}
316
317int DynLibBoard::call_config (char *config)
318{
319 if (dll_loader == NULL)
320 {
321 return (int)BrainFlowExitCodes::BOARD_NOT_READY_ERROR;
322 }
323 int (*func) (void *) = (int (*) (void *))dll_loader->get_address ("config_device");
324 if (func == NULL)
325 {
326 safe_logger (spdlog::level::err, "failed to get function address for release");
327 return (int)BrainFlowExitCodes::GENERAL_ERROR;
328 }
329 return func ((void *)config);
330}

Callers

nothing calls this directly

Calls 1

get_addressMethod · 0.45

Tested by

no test coverage detected