| 509 | } |
| 510 | |
| 511 | std::vector<int> BoardShim::get_optical_channels (int board_id, int preset) |
| 512 | { |
| 513 | int channels[MAX_CHANNELS]; |
| 514 | int len = 0; |
| 515 | int res = ::get_optical_channels (board_id, preset, channels, &len); |
| 516 | if (res != (int)BrainFlowExitCodes::STATUS_OK) |
| 517 | { |
| 518 | throw BrainFlowException ("failed to get board info", res); |
| 519 | } |
| 520 | return std::vector<int> (channels, channels + len); |
| 521 | } |
| 522 | |
| 523 | std::vector<int> BoardShim::get_accel_channels (int board_id, int preset) |
| 524 | { |
nothing calls this directly
no test coverage detected