| 545 | } |
| 546 | |
| 547 | std::vector<int> BoardShim::get_gyro_channels (int board_id, int preset) |
| 548 | { |
| 549 | int channels[MAX_CHANNELS]; |
| 550 | int len = 0; |
| 551 | int res = ::get_gyro_channels (board_id, preset, channels, &len); |
| 552 | if (res != (int)BrainFlowExitCodes::STATUS_OK) |
| 553 | { |
| 554 | throw BrainFlowException ("failed to get board info", res); |
| 555 | } |
| 556 | return std::vector<int> (channels, channels + len); |
| 557 | } |
| 558 | |
| 559 | std::vector<int> BoardShim::get_analog_channels (int board_id, int preset) |
| 560 | { |
nothing calls this directly
no test coverage detected