| 605 | } |
| 606 | |
| 607 | std::vector<int> BoardShim::get_magnetometer_channels (int board_id, int preset) |
| 608 | { |
| 609 | int channels[MAX_CHANNELS]; |
| 610 | int len = 0; |
| 611 | int res = ::get_magnetometer_channels (board_id, preset, channels, &len); |
| 612 | if (res != (int)BrainFlowExitCodes::STATUS_OK) |
| 613 | { |
| 614 | throw BrainFlowException ("failed to get board info", res); |
| 615 | } |
| 616 | return std::vector<int> (channels, channels + len); |
| 617 | } |
| 618 | |
| 619 | std::string BoardShim::get_version () |
| 620 | { |
nothing calls this directly
no test coverage detected