| 519 | } |
| 520 | |
| 521 | int Board::preset_to_int (std::string preset) |
| 522 | { |
| 523 | if (preset == "default") |
| 524 | { |
| 525 | return (int)BrainFlowPresets::DEFAULT_PRESET; |
| 526 | } |
| 527 | else if (preset == "auxiliary") |
| 528 | { |
| 529 | return (int)BrainFlowPresets::AUXILIARY_PRESET; |
| 530 | } |
| 531 | else if (preset == "ancillary") |
| 532 | { |
| 533 | return (int)BrainFlowPresets::ANCILLARY_PRESET; |
| 534 | } |
| 535 | |
| 536 | return (int)BrainFlowPresets::DEFAULT_PRESET; |
| 537 | } |
nothing calls this directly
no outgoing calls
no test coverage detected