Skip to content

Commit

Permalink
FIX: P series with old fireware modify the limit k value to 1
Browse files Browse the repository at this point in the history
jira: 7215
Change-Id: I1b0d1a5931487f0fa2b7d66a4c224e33d3710c73
  • Loading branch information
zhimin-zeng-bambulab authored and SoftFever committed Jun 15, 2024
1 parent 9c9d175 commit 50c42b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/slic3r/GUI/ExtrusionCalibration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
Expand Down

0 comments on commit 50c42b3

Please sign in to comment.