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

Method call_start

src/board_controller/dyn_lib_board.cpp:257–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257int DynLibBoard::call_start ()
258{
259 if (dll_loader == NULL)
260 {
261 return (int)BrainFlowExitCodes::BOARD_NOT_READY_ERROR;
262 }
263 int (*func) (void *) = (int (*) (void *))dll_loader->get_address ("start_stream");
264 if (func == NULL)
265 {
266 safe_logger (spdlog::level::err, "failed to get function address for start_stream");
267 return (int)BrainFlowExitCodes::GENERAL_ERROR;
268 }
269 return func (NULL);
270}
271
272int DynLibBoard::call_stop ()
273{

Callers

nothing calls this directly

Calls 1

get_addressMethod · 0.45

Tested by

no test coverage detected