| 283 | } |
| 284 | |
| 285 | int BoardShim::get_board_sampling_rate (int preset) |
| 286 | { |
| 287 | int sampling_rate = -1; |
| 288 | int res = |
| 289 | ::get_board_sampling_rate (preset, &sampling_rate, board_id, serialized_params.c_str ()); |
| 290 | if (res != (int)BrainFlowExitCodes::STATUS_OK) |
| 291 | { |
| 292 | throw BrainFlowException ("failed to get board sampling rate", res); |
| 293 | } |
| 294 | return sampling_rate; |
| 295 | } |
| 296 | |
| 297 | ////////////////////////////////////////// |
| 298 | ///////////// data desc methods ////////// |
nothing calls this directly
no test coverage detected