Fixed error messages for print fan and extruder fan (were swapped)
This commit is contained in:
parent
f7d49a34fb
commit
b53197fdd1
1 changed files with 3 additions and 3 deletions
|
@ -6207,7 +6207,7 @@ static bool lcd_selftest_fsensor() {
|
||||||
static bool lcd_selftest_fan_dialog(int _fan)
|
static bool lcd_selftest_fan_dialog(int _fan)
|
||||||
{
|
{
|
||||||
bool _result = true;
|
bool _result = true;
|
||||||
int _errno = 6;
|
int _errno = 7;
|
||||||
|
|
||||||
switch (_fan) {
|
switch (_fan) {
|
||||||
case 0:
|
case 0:
|
||||||
|
@ -6238,7 +6238,7 @@ static bool lcd_selftest_fan_dialog(int _fan)
|
||||||
manage_heater(); //turn off fan
|
manage_heater(); //turn off fan
|
||||||
manage_inactivity(true); //to turn off print fan
|
manage_inactivity(true); //to turn off print fan
|
||||||
if (!fan_speed[1]) {
|
if (!fan_speed[1]) {
|
||||||
_result = false; _errno = 7;
|
_result = false; _errno = 6;
|
||||||
}
|
}
|
||||||
else if (fan_speed[1] < 34) { //fan is spinning, but measured RPM are too low for print fan, it must be left extruder fan
|
else if (fan_speed[1] < 34) { //fan is spinning, but measured RPM are too low for print fan, it must be left extruder fan
|
||||||
_result = false; _errno = 10;
|
_result = false; _errno = 10;
|
||||||
|
@ -6247,7 +6247,7 @@ static bool lcd_selftest_fan_dialog(int _fan)
|
||||||
//SERIAL_ECHOPGM("Extruder fan speed: ");
|
//SERIAL_ECHOPGM("Extruder fan speed: ");
|
||||||
//MYSERIAL.println(fan_speed[0]);
|
//MYSERIAL.println(fan_speed[0]);
|
||||||
SERIAL_ECHOPGM("Print fan speed: ");
|
SERIAL_ECHOPGM("Print fan speed: ");
|
||||||
MYSERIAL.print(fan_speed[1]);
|
MYSERIAL.println(fan_speed[1]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!_result)
|
if (!_result)
|
||||||
|
|
Loading…
Reference in a new issue