ENH:limit max nozzle diameter

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Id87a83f1ad5d6d0033bd25eb456dd1204320ae80
This commit is contained in:
qing.zhang 2023-01-06 19:15:48 +08:00 committed by Lane.Wei
parent d0d54db3e4
commit c56d0d8041
1 changed files with 1 additions and 0 deletions

View File

@ -1901,6 +1901,7 @@ void PrintConfigDef::init_fff_params()
def->tooltip = L("Diameter of nozzle");
def->sidetext = L("mm");
def->mode = comAdvanced;
def->max = 1.0;
def->set_default_value(new ConfigOptionFloats { 0.4 });
def = this->add("host_type", coEnum);