| 437 | } |
| 438 | |
| 439 | std::vector<int> BoardShim::get_exg_channels (int board_id, int preset) |
| 440 | { |
| 441 | int channels[MAX_CHANNELS]; |
| 442 | int len = 0; |
| 443 | int res = ::get_exg_channels (board_id, preset, channels, &len); |
| 444 | if (res != (int)BrainFlowExitCodes::STATUS_OK) |
| 445 | { |
| 446 | throw BrainFlowException ("failed to get board info", res); |
| 447 | } |
| 448 | return std::vector<int> (channels, channels + len); |
| 449 | } |
| 450 | |
| 451 | std::vector<int> BoardShim::get_emg_channels (int board_id, int preset) |
| 452 | { |
nothing calls this directly
no test coverage detected