Do not check for fanError if it is not enabled on resume
Fix typos
This commit is contained in:
parent
e2e32b455a
commit
359c447127
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue