| 425 | } |
| 426 | |
| 427 | std::vector<int> BoardShim::get_eeg_channels (int board_id, int preset) |
| 428 | { |
| 429 | int channels[MAX_CHANNELS]; |
| 430 | int len = 0; |
| 431 | int res = ::get_eeg_channels (board_id, preset, channels, &len); |
| 432 | if (res != (int)BrainFlowExitCodes::STATUS_OK) |
| 433 | { |
| 434 | throw BrainFlowException ("failed to get board info", res); |
| 435 | } |
| 436 | return std::vector<int> (channels, channels + len); |
| 437 | } |
| 438 | |
| 439 | std::vector<int> BoardShim::get_exg_channels (int board_id, int preset) |
| 440 | { |
nothing calls this directly
no test coverage detected