| 240 | } |
| 241 | |
| 242 | int DynLibBoard::call_open () |
| 243 | { |
| 244 | if (dll_loader == NULL) |
| 245 | { |
| 246 | return (int)BrainFlowExitCodes::BOARD_NOT_READY_ERROR; |
| 247 | } |
| 248 | int (*func) (void *) = (int (*) (void *))dll_loader->get_address ("open_device"); |
| 249 | if (func == NULL) |
| 250 | { |
| 251 | safe_logger (spdlog::level::err, "failed to get function address for open_device"); |
| 252 | return (int)BrainFlowExitCodes::GENERAL_ERROR; |
| 253 | } |
| 254 | return func (NULL); |
| 255 | } |
| 256 | |
| 257 | int DynLibBoard::call_start () |
| 258 | { |
nothing calls this directly
no test coverage detected