Fix air filtration gcode emitted even if not not supported by the printer (#13868)

* Fix air filtration gcode emitted even if not not supported

- do not emit air filtration gcode if not supported by the printer
- removed redundant  "add_eol" parameter from "set_exhaust_fan()" function
This commit is contained in:
Kiss Lorand
2026-05-31 07:11:40 +03:00
committed by GitHub
parent b78d5b94dc
commit 6a26284ba6
3 changed files with 41 additions and 22 deletions

View File

@@ -106,7 +106,7 @@ public:
std::string set_fan(unsigned int speed) const;
//BBS: set additional fan speed for BBS machine only
static std::string set_additional_fan(unsigned int speed);
static std::string set_exhaust_fan(int speed,bool add_eol);
static std::string set_exhaust_fan(int speed);
//BBS
void set_object_start_str(std::string start_string) { m_gcode_label_objects_start = start_string; }
bool is_object_start_str_empty() { return m_gcode_label_objects_start.empty(); }