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

Method call_stop

src/board_controller/synchroni/synchroni_board.cpp:224–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224int SynchroniBoard::call_stop ()
225{
226 if (dll_loader == NULL)
227 {
228 return (int)BrainFlowExitCodes::BOARD_NOT_READY_ERROR;
229 }
230 int (*func) (void *) = (int (*) (void *))dll_loader->get_address ("synchroni_stop_stream");
231 if (func == NULL)
232 {
233 safe_logger (spdlog::level::err, "failed to get function address for stop_stream");
234 return (int)BrainFlowExitCodes::GENERAL_ERROR;
235 }
236 std::tuple<std::string> info = std::make_tuple (params.mac_address);
237 return func ((void *)&info);
238}
239
240int SynchroniBoard::call_close ()
241{

Callers

nothing calls this directly

Calls 1

get_addressMethod · 0.45

Tested by

no test coverage detected