MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / get_temperature_channels

Method get_temperature_channels

cpp_package/src/board_shim.cpp:583–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

581}
582
583std::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
595std::vector<int> BoardShim::get_resistance_channels (int board_id, int preset)
596{

Callers

nothing calls this directly

Calls 2

get_temperature_channelsFunction · 0.85
BrainFlowExceptionClass · 0.85

Tested by

no test coverage detected