| 521 | } |
| 522 | |
| 523 | std::vector<int> BoardShim::get_accel_channels (int board_id, int preset) |
| 524 | { |
| 525 | int channels[MAX_CHANNELS]; |
| 526 | int len = 0; |
| 527 | int res = ::get_accel_channels (board_id, preset, channels, &len); |
| 528 | if (res != (int)BrainFlowExitCodes::STATUS_OK) |
| 529 | { |
| 530 | throw BrainFlowException ("failed to get board info", res); |
| 531 | } |
| 532 | return std::vector<int> (channels, channels + len); |
| 533 | } |
| 534 | |
| 535 | std::vector<int> BoardShim::get_rotation_channels (int board_id, int preset) |
| 536 | { |
nothing calls this directly
no test coverage detected