Renamed "marlinfirmware" G-code flavor to "marlin2".
This commit is contained in:
parent
745aa3536d
commit
28472ee03f
@ -546,7 +546,7 @@ bool ConfigBase::set_deserialize_raw(const t_config_option_key &opt_key_src, con
|
||||
// Deserialize failed, try to substitute with a default value.
|
||||
assert(substitutions_ctxt.rule == ForwardCompatibilitySubstitutionRule::Enable || substitutions_ctxt.rule == ForwardCompatibilitySubstitutionRule::EnableSilent);
|
||||
|
||||
if (opt_key == "gcode_flavor" && value == "marlinfirmware")
|
||||
if (opt_key == "gcode_flavor" && (value == "marlin2" || value == "marlinfirmware"))
|
||||
static_cast<ConfigOptionEnum<GCodeFlavor>*>(opt)->value = gcfMarlin;
|
||||
else
|
||||
opt->set(optdef->default_value.get());
|
||||
|
Loading…
Reference in New Issue
Block a user