| 473 | } |
| 474 | |
| 475 | std::vector<int> BoardShim::get_eog_channels (int board_id, int preset) |
| 476 | { |
| 477 | int channels[MAX_CHANNELS]; |
| 478 | int len = 0; |
| 479 | int res = ::get_eog_channels (board_id, preset, channels, &len); |
| 480 | if (res != (int)BrainFlowExitCodes::STATUS_OK) |
| 481 | { |
| 482 | throw BrainFlowException ("failed to get board info", res); |
| 483 | } |
| 484 | return std::vector<int> (channels, channels + len); |
| 485 | } |
| 486 | |
| 487 | std::vector<int> BoardShim::get_eda_channels (int board_id, int preset) |
| 488 | { |
nothing calls this directly
no test coverage detected