MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / parse_muse_options

Method parse_muse_options

src/board_controller/muse/muse_athena.cpp:119–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119int MuseAthena::parse_muse_options ()
120{
121 muse_preset = "p1041";
122 enable_low_latency = true;
123
124 std::string parse_error;
125 if (!MuseOptions::parse_preset_options (params.other_info, board_id,
126 MuseOptions::PresetFamily::Athena, true, muse_preset, enable_low_latency, parse_error))
127 {
128 safe_logger (spdlog::level::err, "Invalid MuseAthena other_info: {}", parse_error);
129 return (int)BrainFlowExitCodes::INVALID_ARGUMENTS_ERROR;
130 }
131
132 return (int)BrainFlowExitCodes::STATUS_OK;
133}
134
135
136void athena_adapter_on_scan_found (

Callers

nothing calls this directly

Calls 1

parse_preset_optionsFunction · 0.85

Tested by

no test coverage detected