| 357 | } |
| 358 | |
| 359 | int 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 | |
| 370 | int BoardShim::get_num_rows (int board_id, int preset) |
| 371 | { |
nothing calls this directly
no test coverage detected