| 485 | } |
| 486 | |
| 487 | std::vector<int> BoardShim::get_eda_channels (int board_id, int preset) |
| 488 | { |
| 489 | int channels[MAX_CHANNELS]; |
| 490 | int len = 0; |
| 491 | int res = ::get_eda_channels (board_id, preset, channels, &len); |
| 492 | if (res != (int)BrainFlowExitCodes::STATUS_OK) |
| 493 | { |
| 494 | throw BrainFlowException ("failed to get board info", res); |
| 495 | } |
| 496 | return std::vector<int> (channels, channels + len); |
| 497 | } |
| 498 | |
| 499 | std::vector<int> BoardShim::get_ppg_channels (int board_id, int preset) |
| 500 | { |
nothing calls this directly
no test coverage detected