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

Method get_battery_channel

cpp_package/src/board_shim.cpp:359–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357}
358
359int BoardShim::get_battery_channel (int board_id, int preset)
360{
361 int battery_channel = 0;
362 int res = ::get_battery_channel (board_id, preset, &battery_channel);
363 if (res != (int)BrainFlowExitCodes::STATUS_OK)
364 {
365 throw BrainFlowException ("failed to get board info", res);
366 }
367 return battery_channel;
368}
369
370int BoardShim::get_num_rows (int board_id, int preset)
371{

Callers

nothing calls this directly

Calls 2

get_battery_channelFunction · 0.85
BrainFlowExceptionClass · 0.85

Tested by

no test coverage detected