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

Method call_stop

src/board_controller/dyn_lib_board.cpp:272–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270}
271
272int DynLibBoard::call_stop ()
273{
274 if (dll_loader == NULL)
275 {
276 return (int)BrainFlowExitCodes::BOARD_NOT_READY_ERROR;
277 }
278 int (*func) (void *) = (int (*) (void *))dll_loader->get_address ("stop_stream");
279 if (func == NULL)
280 {
281 safe_logger (spdlog::level::err, "failed to get function address for stop_stream");
282 return (int)BrainFlowExitCodes::GENERAL_ERROR;
283 }
284 return func (NULL);
285}
286
287int DynLibBoard::call_close ()
288{

Callers

nothing calls this directly

Calls 1

get_addressMethod · 0.45

Tested by

no test coverage detected