| 313 | } |
| 314 | |
| 315 | int BoardShim::get_sampling_rate (int board_id, int preset) |
| 316 | { |
| 317 | int sampling_rate = -1; |
| 318 | int res = ::get_sampling_rate (board_id, preset, &sampling_rate); |
| 319 | if (res != (int)BrainFlowExitCodes::STATUS_OK) |
| 320 | { |
| 321 | throw BrainFlowException ("failed to get board info", res); |
| 322 | } |
| 323 | return sampling_rate; |
| 324 | } |
| 325 | |
| 326 | int BoardShim::get_package_num_channel (int board_id, int preset) |
| 327 | { |
nothing calls this directly
no test coverage detected