Merge branch 'main' into dev/brim-ear-gizmo

This commit is contained in:
SoftFever 2025-02-18 23:09:30 +08:00 committed by GitHub
commit 2bc9c8d239
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
141 changed files with 5717 additions and 340 deletions

View file

@ -88,6 +88,7 @@ static t_config_enum_values s_keys_map_PrintHostType {
{ "obico", htObico },
{ "flashforge", htFlashforge },
{ "simplyprint", htSimplyPrint },
{ "elegoolink", htElegooLink }
};
CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(PrintHostType)
@ -3618,6 +3619,7 @@ void PrintConfigDef::init_fff_params()
def->enum_values.push_back("obico");
def->enum_values.push_back("flashforge");
def->enum_values.push_back("simplyprint");
def->enum_values.push_back("elegoolink");
def->enum_labels.push_back("PrusaLink");
def->enum_labels.push_back("PrusaConnect");
def->enum_labels.push_back("Octo/Klipper");
@ -3631,6 +3633,7 @@ void PrintConfigDef::init_fff_params()
def->enum_labels.push_back("Obico");
def->enum_labels.push_back("Flashforge");
def->enum_labels.push_back("SimplyPrint");
def->enum_labels.push_back("Elegoo Link");
def->mode = comAdvanced;
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionEnum<PrintHostType>(htOctoPrint));