| 632 | } |
| 633 | |
| 634 | int release_all_sessions () |
| 635 | { |
| 636 | std::lock_guard<std::mutex> lock (mutex); |
| 637 | |
| 638 | for (auto it = boards.begin (), next_it = it; it != boards.end (); it = next_it) |
| 639 | { |
| 640 | ++next_it; |
| 641 | it->second->release_session (); |
| 642 | boards.erase (it); |
| 643 | } |
| 644 | |
| 645 | return (int)BrainFlowExitCodes::STATUS_OK; |
| 646 | } |
| 647 | |
| 648 | int get_version_board_controller (char *version, int *num_chars, int max_chars) |
| 649 | { |
nothing calls this directly
no test coverage detected