| 315 | } |
| 316 | |
| 317 | int DynLibBoard::call_config (char *config) |
| 318 | { |
| 319 | if (dll_loader == NULL) |
| 320 | { |
| 321 | return (int)BrainFlowExitCodes::BOARD_NOT_READY_ERROR; |
| 322 | } |
| 323 | int (*func) (void *) = (int (*) (void *))dll_loader->get_address ("config_device"); |
| 324 | if (func == NULL) |
| 325 | { |
| 326 | safe_logger (spdlog::level::err, "failed to get function address for release"); |
| 327 | return (int)BrainFlowExitCodes::GENERAL_ERROR; |
| 328 | } |
| 329 | return func ((void *)config); |
| 330 | } |
nothing calls this directly
no test coverage detected