| 255 | } |
| 256 | |
| 257 | int DynLibBoard::call_start () |
| 258 | { |
| 259 | if (dll_loader == NULL) |
| 260 | { |
| 261 | return (int)BrainFlowExitCodes::BOARD_NOT_READY_ERROR; |
| 262 | } |
| 263 | int (*func) (void *) = (int (*) (void *))dll_loader->get_address ("start_stream"); |
| 264 | if (func == NULL) |
| 265 | { |
| 266 | safe_logger (spdlog::level::err, "failed to get function address for start_stream"); |
| 267 | return (int)BrainFlowExitCodes::GENERAL_ERROR; |
| 268 | } |
| 269 | return func (NULL); |
| 270 | } |
| 271 | |
| 272 | int DynLibBoard::call_stop () |
| 273 | { |
nothing calls this directly
no test coverage detected