| 593 | } |
| 594 | |
| 595 | std::vector<int> BoardShim::get_resistance_channels (int board_id, int preset) |
| 596 | { |
| 597 | int channels[MAX_CHANNELS]; |
| 598 | int len = 0; |
| 599 | int res = ::get_resistance_channels (board_id, preset, channels, &len); |
| 600 | if (res != (int)BrainFlowExitCodes::STATUS_OK) |
| 601 | { |
| 602 | throw BrainFlowException ("failed to get board info", res); |
| 603 | } |
| 604 | return std::vector<int> (channels, channels + len); |
| 605 | } |
| 606 | |
| 607 | std::vector<int> BoardShim::get_magnetometer_channels (int board_id, int preset) |
| 608 | { |
nothing calls this directly
no test coverage detected