| 300 | } |
| 301 | |
| 302 | int DynLibBoard::call_release () |
| 303 | { |
| 304 | if (dll_loader == NULL) |
| 305 | { |
| 306 | return (int)BrainFlowExitCodes::BOARD_NOT_READY_ERROR; |
| 307 | } |
| 308 | int (*func) (void *) = (int (*) (void *))dll_loader->get_address ("release"); |
| 309 | if (func == NULL) |
| 310 | { |
| 311 | safe_logger (spdlog::level::err, "failed to get function address for release"); |
| 312 | return (int)BrainFlowExitCodes::GENERAL_ERROR; |
| 313 | } |
| 314 | return func (NULL); |
| 315 | } |
| 316 | |
| 317 | int DynLibBoard::call_config (char *config) |
| 318 | { |
nothing calls this directly
no test coverage detected