| 73 | } |
| 74 | |
| 75 | int GforcePro::prepare_session () |
| 76 | { |
| 77 | if (!is_valid) |
| 78 | { |
| 79 | safe_logger (spdlog::level::info, "only one GForceLib per process is allowed"); |
| 80 | return (int)BrainFlowExitCodes::ANOTHER_BOARD_IS_CREATED_ERROR; |
| 81 | } |
| 82 | return DynLibBoard::prepare_session (); |
| 83 | } |
| 84 | |
| 85 | #else |
| 86 |
nothing calls this directly
no test coverage detected