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

Method call_open

src/board_controller/dyn_lib_board.cpp:242–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242int DynLibBoard::call_open ()
243{
244 if (dll_loader == NULL)
245 {
246 return (int)BrainFlowExitCodes::BOARD_NOT_READY_ERROR;
247 }
248 int (*func) (void *) = (int (*) (void *))dll_loader->get_address ("open_device");
249 if (func == NULL)
250 {
251 safe_logger (spdlog::level::err, "failed to get function address for open_device");
252 return (int)BrainFlowExitCodes::GENERAL_ERROR;
253 }
254 return func (NULL);
255}
256
257int DynLibBoard::call_start ()
258{

Callers

nothing calls this directly

Calls 1

get_addressMethod · 0.45

Tested by

no test coverage detected