moonraker compatibility fix

This commit is contained in:
SoftFever 2022-11-08 20:13:27 +08:00
parent f9160c2909
commit e551fe57b7

View file

@ -1883,6 +1883,7 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
file.write_format(
"; first_layer_height = %.3f\n",
print.config().initial_layer_print_height.value);
file.write_format("; variable_layer_height = %d\n", m_config.adaptive_layer_height ? 1 : 0);
file.write("; CONFIG_BLOCK_END\n\n");