FIX: P series with old fireware modify the limit k value to 1

jira: 7215
Change-Id: I1b0d1a5931487f0fa2b7d66a4c224e33d3710c73
This commit is contained in:
zhimin.zeng 2024-05-31 16:51:26 +08:00 committed by Lane.Wei
parent 0b0e03df1f
commit c12dbbd3c8
1 changed files with 2 additions and 2 deletions

View File

@ -510,7 +510,7 @@ bool ExtrusionCalibration::check_k_validation(wxString k_text)
;
}
if (k < 0 || k > 0.3)
if (k < MIN_PA_K_VALUE || k > MAX_PA_K_VALUE)
return false;
return true;
}
@ -534,7 +534,7 @@ bool ExtrusionCalibration::check_k_n_validation(wxString k_text, wxString n_text
catch (...) {
;
}
if (k < 0 || k > 0.5)
if (k < MIN_PA_K_VALUE || k > MAX_PA_K_VALUE)
return false;
if (n < 0.6 || n > 2.0)
return false;