Do not check for fanError if it is not enabled on resume

Fix typos
This commit is contained in:
Alex Voinea 2019-11-16 22:44:34 +02:00
parent e2e32b455a
commit 359c447127

View file

@ -6652,6 +6652,7 @@ static void lcd_test_menu()
static bool fan_error_selftest()
{
#ifdef FANCHECK
if (!fans_check_enabled) return 0;
fanSpeed = 255;
#ifdef FAN_SOFT_PWM
@ -6682,9 +6683,8 @@ static bool fan_error_selftest()
return 1;
}
#endif
#endif //FANCHECK
return 0;
#endif //FANCHECK
}
//! @brief Resume paused print