| 501 | } |
| 502 | |
| 503 | std::string Board::preset_to_string (int preset) |
| 504 | { |
| 505 | if (preset == (int)BrainFlowPresets::DEFAULT_PRESET) |
| 506 | { |
| 507 | return "default"; |
| 508 | } |
| 509 | else if (preset == (int)BrainFlowPresets::AUXILIARY_PRESET) |
| 510 | { |
| 511 | return "auxiliary"; |
| 512 | } |
| 513 | else if (preset == (int)BrainFlowPresets::ANCILLARY_PRESET) |
| 514 | { |
| 515 | return "ancillary"; |
| 516 | } |
| 517 | |
| 518 | return ""; |
| 519 | } |
| 520 | |
| 521 | int Board::preset_to_int (std::string preset) |
| 522 | { |
nothing calls this directly
no outgoing calls
no test coverage detected