| 497 | } |
| 498 | |
| 499 | std::vector<int> BoardShim::get_ppg_channels (int board_id, int preset) |
| 500 | { |
| 501 | int channels[MAX_CHANNELS]; |
| 502 | int len = 0; |
| 503 | int res = ::get_ppg_channels (board_id, preset, channels, &len); |
| 504 | if (res != (int)BrainFlowExitCodes::STATUS_OK) |
| 505 | { |
| 506 | throw BrainFlowException ("failed to get board info", res); |
| 507 | } |
| 508 | return std::vector<int> (channels, channels + len); |
| 509 | } |
| 510 | |
| 511 | std::vector<int> BoardShim::get_optical_channels (int board_id, int preset) |
| 512 | { |
nothing calls this directly
no test coverage detected