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

Method call_release

src/board_controller/dyn_lib_board.cpp:302–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302int DynLibBoard::call_release ()
303{
304 if (dll_loader == NULL)
305 {
306 return (int)BrainFlowExitCodes::BOARD_NOT_READY_ERROR;
307 }
308 int (*func) (void *) = (int (*) (void *))dll_loader->get_address ("release");
309 if (func == NULL)
310 {
311 safe_logger (spdlog::level::err, "failed to get function address for release");
312 return (int)BrainFlowExitCodes::GENERAL_ERROR;
313 }
314 return func (NULL);
315}
316
317int DynLibBoard::call_config (char *config)
318{

Callers

nothing calls this directly

Calls 1

get_addressMethod · 0.45

Tested by

no test coverage detected