|
@@ -181,7 +181,9 @@ enum class testScreen
|
|
static int lcd_selftest_screen(testScreen screen, int _progress, int _progress_scale, bool _clear, int _delay);
|
|
static int lcd_selftest_screen(testScreen screen, int _progress, int _progress_scale, bool _clear, int _delay);
|
|
static void lcd_selftest_screen_step(int _row, int _col, int _state, const char *_name, const char *_indicator);
|
|
static void lcd_selftest_screen_step(int _row, int _col, int _state, const char *_name, const char *_indicator);
|
|
static bool lcd_selftest_manual_fan_check(int _fan, bool check_opposite);
|
|
static bool lcd_selftest_manual_fan_check(int _fan, bool check_opposite);
|
|
|
|
+#ifdef FAN_CHECK
|
|
static bool lcd_selftest_fan_dialog(int _fan);
|
|
static bool lcd_selftest_fan_dialog(int _fan);
|
|
|
|
+#endif //FAN_CHECk
|
|
static bool lcd_selftest_fsensor();
|
|
static bool lcd_selftest_fsensor();
|
|
static bool selftest_irsensor();
|
|
static bool selftest_irsensor();
|
|
static void lcd_selftest_error(int _error_no, const char *_error_1, const char *_error_2);
|
|
static void lcd_selftest_error(int _error_no, const char *_error_1, const char *_error_2);
|
|
@@ -7338,12 +7340,11 @@ static bool lcd_selftest_manual_fan_check(int _fan, bool check_opposite)
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
|
|
+#ifdef FANCHECK
|
|
static bool lcd_selftest_fan_dialog(int _fan)
|
|
static bool lcd_selftest_fan_dialog(int _fan)
|
|
{
|
|
{
|
|
bool _result = true;
|
|
bool _result = true;
|
|
int _errno = 7;
|
|
int _errno = 7;
|
|
-
|
|
|
|
switch (_fan) {
|
|
switch (_fan) {
|
|
case 0:
|
|
case 0:
|
|
fanSpeed = 0;
|
|
fanSpeed = 0;
|
|
@@ -7431,6 +7432,8 @@ static bool lcd_selftest_fan_dialog(int _fan)
|
|
return _result;
|
|
return _result;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#endif //FANCHECK
|
|
|
|
+
|
|
static int lcd_selftest_screen(testScreen screen, int _progress, int _progress_scale, bool _clear, int _delay)
|
|
static int lcd_selftest_screen(testScreen screen, int _progress, int _progress_scale, bool _clear, int _delay)
|
|
{
|
|
{
|
|
|
|
|