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

Method call_close

src/board_controller/dyn_lib_board.cpp:287–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287int DynLibBoard::call_close ()
288{
289 if (dll_loader == NULL)
290 {
291 return (int)BrainFlowExitCodes::BOARD_NOT_READY_ERROR;
292 }
293 int (*func) (void *) = (int (*) (void *))dll_loader->get_address ("close_device");
294 if (func == NULL)
295 {
296 safe_logger (spdlog::level::err, "failed to get function address for close_device");
297 return (int)BrainFlowExitCodes::GENERAL_ERROR;
298 }
299 return func (NULL);
300}
301
302int DynLibBoard::call_release ()
303{

Callers

nothing calls this directly

Calls 1

get_addressMethod · 0.45

Tested by

no test coverage detected