| 533 | } |
| 534 | |
| 535 | std::vector<int> BoardShim::get_rotation_channels (int board_id, int preset) |
| 536 | { |
| 537 | int channels[MAX_CHANNELS]; |
| 538 | int len = 0; |
| 539 | int res = ::get_rotation_channels (board_id, preset, channels, &len); |
| 540 | if (res != (int)BrainFlowExitCodes::STATUS_OK) |
| 541 | { |
| 542 | throw BrainFlowException ("failed to get board info", res); |
| 543 | } |
| 544 | return std::vector<int> (channels, channels + len); |
| 545 | } |
| 546 | |
| 547 | std::vector<int> BoardShim::get_gyro_channels (int board_id, int preset) |
| 548 | { |
nothing calls this directly
no test coverage detected