| 449 | } |
| 450 | |
| 451 | std::vector<int> BoardShim::get_emg_channels (int board_id, int preset) |
| 452 | { |
| 453 | int channels[MAX_CHANNELS]; |
| 454 | int len = 0; |
| 455 | int res = ::get_emg_channels (board_id, preset, channels, &len); |
| 456 | if (res != (int)BrainFlowExitCodes::STATUS_OK) |
| 457 | { |
| 458 | throw BrainFlowException ("failed to get board info", res); |
| 459 | } |
| 460 | return std::vector<int> (channels, channels + len); |
| 461 | } |
| 462 | |
| 463 | std::vector<int> BoardShim::get_ecg_channels (int board_id, int preset) |
| 464 | { |
nothing calls this directly
no test coverage detected