| 231 | } |
| 232 | |
| 233 | int AntNeuroBoard::stop_stream () |
| 234 | { |
| 235 | if (stream != NULL) |
| 236 | { |
| 237 | keep_alive = false; |
| 238 | streaming_thread.join (); |
| 239 | delete stream; |
| 240 | stream = NULL; |
| 241 | return (int)BrainFlowExitCodes::STATUS_OK; |
| 242 | } |
| 243 | else |
| 244 | { |
| 245 | return (int)BrainFlowExitCodes::STREAM_THREAD_IS_NOT_RUNNING; |
| 246 | } |
| 247 | } |
| 248 | |
| 249 | int AntNeuroBoard::release_session () |
| 250 | { |
nothing calls this directly
no outgoing calls
no test coverage detected