| 581 | } |
| 582 | |
| 583 | std::vector<int> BoardShim::get_temperature_channels (int board_id, int preset) |
| 584 | { |
| 585 | int channels[MAX_CHANNELS]; |
| 586 | int len = 0; |
| 587 | int res = ::get_temperature_channels (board_id, preset, channels, &len); |
| 588 | if (res != (int)BrainFlowExitCodes::STATUS_OK) |
| 589 | { |
| 590 | throw BrainFlowException ("failed to get board info", res); |
| 591 | } |
| 592 | return std::vector<int> (channels, channels + len); |
| 593 | } |
| 594 | |
| 595 | std::vector<int> BoardShim::get_resistance_channels (int board_id, int preset) |
| 596 | { |
nothing calls this directly
no test coverage detected