feat(CrealityPrint): add support for SPARKX i7 (F022)

Works directly with existing code, just adding the identifiers to the
arrays.
This commit is contained in:
Alys Andreollo
2026-06-03 21:44:46 +01:00
committed by grant0013
parent 4469f009c4
commit 5aa3c76c36

View File

@@ -260,7 +260,8 @@ bool CrealityPrint::supports_multi_color_print() const
// K2-platform printers with CFS support
return m_model == "F008" // K2 Plus
|| m_model == "F012" // K2 Pro
|| m_model == "F021"; // K2
|| m_model == "F021" // K2
|| m_model == "F022"; // SPARKX i7
}
std::string CrealityPrint::model_name() const
@@ -269,6 +270,7 @@ std::string CrealityPrint::model_name() const
{"F008", "K2 Plus"},
{"F012", "K2 Pro"},
{"F021", "K2"},
{"F022", "SPARKX i7"},
};
query_model();
if (m_model.empty())