| 461 | } |
| 462 | |
| 463 | std::vector<int> BoardShim::get_ecg_channels (int board_id, int preset) |
| 464 | { |
| 465 | int channels[MAX_CHANNELS]; |
| 466 | int len = 0; |
| 467 | int res = ::get_ecg_channels (board_id, preset, channels, &len); |
| 468 | if (res != (int)BrainFlowExitCodes::STATUS_OK) |
| 469 | { |
| 470 | throw BrainFlowException ("failed to get board info", res); |
| 471 | } |
| 472 | return std::vector<int> (channels, channels + len); |
| 473 | } |
| 474 | |
| 475 | std::vector<int> BoardShim::get_eog_channels (int board_id, int preset) |
| 476 | { |
nothing calls this directly
no test coverage detected