| 151 | } |
| 152 | |
| 153 | int PIEEGBoard::stop_stream () |
| 154 | { |
| 155 | if (keep_alive) |
| 156 | { |
| 157 | keep_alive = false; |
| 158 | if (streaming_thread.joinable ()) |
| 159 | { |
| 160 | streaming_thread.join (); |
| 161 | } |
| 162 | return send_command (0x0A); // stop |
| 163 | } |
| 164 | else |
| 165 | { |
| 166 | return (int)BrainFlowExitCodes::STREAM_THREAD_IS_NOT_RUNNING; |
| 167 | } |
| 168 | } |
| 169 | |
| 170 | int PIEEGBoard::release_session () |
| 171 | { |
nothing calls this directly
no outgoing calls
no test coverage detected