Stop Saving silent_mode

silent_mode has been dropped on load since it was retired, and nothing
can set it, yet it was still defined and written into every project.
Remove the option and the code that only read it. The key stays in the
obsolete set so older projects still load.
This commit is contained in:
Hanif Koh committed 2026-10-23 16:08:47 +08:00
1 parent 373ffaa13f
commit 19eb55d3e5
10 files changed
+23 -79

No files matched your search

-8
View File
@@ -3652,14 +3652,6 @@ void GCodeProcessor::apply_config(const DynamicPrintConfig& config)
DEFAULT_TRAVEL_ACCELERATION;
}
if (m_flavor == gcfMarlinLegacy || m_flavor == gcfMarlinFirmware) {
const ConfigOptionBool* silent_mode = config.option<ConfigOptionBool>("silent_mode");
if (silent_mode != nullptr) {
if (silent_mode->value && m_time_processor.machine_limits.machine_max_acceleration_x.values.size() > 1)
enable_stealth_time_estimator(true);
}
}
const ConfigOptionFloat* initial_layer_print_height = config.option<ConfigOptionFloat>("initial_layer_print_height");
if (initial_layer_print_height != nullptr)
m_first_layer_height = std::abs(initial_layer_print_height->value);