Falashforge 5M network support (#4546)

* build action changes

* Adding flashforge 5M series network support

* Update CMakeLists.txt

* Update Flashforge.cpp

* reverting files for pull request

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
iherbak 2024-03-22 12:22:46 +01:00 committed by GitHub
parent 2bda9db207
commit f1c91dc551
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 256 additions and 16 deletions

View file

@ -103,7 +103,8 @@ static t_config_enum_values s_keys_map_PrintHostType {
{ "astrobox", htAstroBox },
{ "repetier", htRepetier },
{ "mks", htMKS },
{ "obico", htObico }
{ "obico", htObico },
{ "flashforge", htFlashforge}
};
CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(PrintHostType)
@ -3066,6 +3067,7 @@ def = this->add("filament_loading_speed", coFloats);
def->enum_values.push_back("repetier");
def->enum_values.push_back("mks");
def->enum_values.push_back("obico");
def->enum_values.push_back("flashforge");
def->enum_labels.push_back("PrusaLink");
def->enum_labels.push_back("PrusaConnect");
def->enum_labels.push_back("Octo/Klipper");
@ -3075,6 +3077,7 @@ def = this->add("filament_loading_speed", coFloats);
def->enum_labels.push_back("Repetier");
def->enum_labels.push_back("MKS");
def->enum_labels.push_back("Obico");
def->enum_labels.push_back("Flashforge");
def->mode = comAdvanced;
def->cli = ConfigOptionDef::nocli;
def->set_default_value(new ConfigOptionEnum<PrintHostType>(htOctoPrint));