| 270 | } |
| 271 | |
| 272 | int DynLibBoard::call_stop () |
| 273 | { |
| 274 | if (dll_loader == NULL) |
| 275 | { |
| 276 | return (int)BrainFlowExitCodes::BOARD_NOT_READY_ERROR; |
| 277 | } |
| 278 | int (*func) (void *) = (int (*) (void *))dll_loader->get_address ("stop_stream"); |
| 279 | if (func == NULL) |
| 280 | { |
| 281 | safe_logger (spdlog::level::err, "failed to get function address for stop_stream"); |
| 282 | return (int)BrainFlowExitCodes::GENERAL_ERROR; |
| 283 | } |
| 284 | return func (NULL); |
| 285 | } |
| 286 | |
| 287 | int DynLibBoard::call_close () |
| 288 | { |
nothing calls this directly
no test coverage detected