| 557 | } |
| 558 | |
| 559 | std::vector<int> BoardShim::get_analog_channels (int board_id, int preset) |
| 560 | { |
| 561 | int channels[MAX_CHANNELS]; |
| 562 | int len = 0; |
| 563 | int res = ::get_analog_channels (board_id, preset, channels, &len); |
| 564 | if (res != (int)BrainFlowExitCodes::STATUS_OK) |
| 565 | { |
| 566 | throw BrainFlowException ("failed to get board info", res); |
| 567 | } |
| 568 | return std::vector<int> (channels, channels + len); |
| 569 | } |
| 570 | |
| 571 | std::vector<int> BoardShim::get_other_channels (int board_id, int preset) |
| 572 | { |
nothing calls this directly
no test coverage detected