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

Method call_release

src/board_controller/synchroni/synchroni_board.cpp:256–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256int SynchroniBoard::call_release ()
257{
258 if (dll_loader == NULL)
259 {
260 return (int)BrainFlowExitCodes::BOARD_NOT_READY_ERROR;
261 }
262 int (*func) (void *) = (int (*) (void *))dll_loader->get_address ("synchroni_release");
263 if (func == NULL)
264 {
265 safe_logger (spdlog::level::err, "failed to get function address for release");
266 return (int)BrainFlowExitCodes::GENERAL_ERROR;
267 }
268 std::tuple<std::string> info = std::make_tuple (params.mac_address);
269 return func ((void *)&info);
270}
271
272
273int SynchroniBoard::prepare_session ()

Callers

nothing calls this directly

Calls 1

get_addressMethod · 0.45

Tested by

no test coverage detected