fix export to prusa for klipper

This commit is contained in:
remi durand 2021-06-15 22:03:41 +02:00
parent 4ea2fc1482
commit 7f232abce5

View File

@ -5565,14 +5565,12 @@ void PrintConfigDef::to_prusa(t_config_option_key& opt_key, std::string& value,
catch (...) { catch (...) {
} }
} else if ("gcode_flavor" == opt_key) { } else if ("gcode_flavor" == opt_key) {
if ("reprap" == value) if ("sprinter" == value)
value = "reprapfirmware";
else if ("sprinter" == value)
value = "reprap"; value = "reprap";
else if ("lerdge" == value) else if ("lerdge" == value)
value = "marlin"; value = "marlin";
else if ("klipper" == value) else if ("klipper" == value)
value = "sprinter"; value = "reprap";
} else if ("host_type" == opt_key) { } else if ("host_type" == opt_key) {
if ("klipper" == value) if ("klipper" == value)
value = "octoprint"; value = "octoprint";