FIX: Clean up the code

1. Refactor recommended code for print by object
2. Calibration adaptation sends print command

jira: none

Change-Id: I24fd92d6aca07a7067e09bb200854e5bec72a324
(cherry picked from commit ad03fae1eba75a866d806a4319ef7edde2fb3562)
This commit is contained in:
zhimin.zeng
2024-07-10 17:48:00 +08:00
committed by Noisyfox
parent c424c63ec9
commit 18e08ec6a1
4 changed files with 26 additions and 162 deletions

View File

@@ -151,8 +151,7 @@ public:
std::map<int, DynamicPrintConfig> filament_ams_list;
std::vector<std::vector<std::string>> ams_multi_color_filment;
// todo multi_extruders: delete mutable
mutable std::vector<int> extruder_filament_counts;
std::vector<int> extruder_filament_counts;
// Calibrate
Preset const * calibrate_printer = nullptr;
std::set<Preset const *> calibrate_filaments;