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

Method call_close

src/board_controller/synchroni/synchroni_board.cpp:240–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240int SynchroniBoard::call_close ()
241{
242 if (dll_loader == NULL)
243 {
244 return (int)BrainFlowExitCodes::BOARD_NOT_READY_ERROR;
245 }
246 int (*func) (void *) = (int (*) (void *))dll_loader->get_address ("synchroni_close_device");
247 if (func == NULL)
248 {
249 safe_logger (spdlog::level::err, "failed to get function address for close_device");
250 return (int)BrainFlowExitCodes::GENERAL_ERROR;
251 }
252 std::tuple<std::string> info = std::make_tuple (params.mac_address);
253 return func ((void *)&info);
254}
255
256int SynchroniBoard::call_release ()
257{

Callers

nothing calls this directly

Calls 1

get_addressMethod · 0.45

Tested by

no test coverage detected