|
@@ -6418,21 +6418,25 @@ bool lcd_selftest()
|
|
|
if (_result)
|
|
|
{
|
|
|
_progress = lcd_selftest_screen(8, _progress, 3, true, 2000);
|
|
|
+ }
|
|
|
+
|
|
|
#ifdef FILAMENT_SENSOR
|
|
|
- if (mmu_enabled == false) {
|
|
|
- _progress = lcd_selftest_screen(9, _progress, 3, true, 2000);
|
|
|
- _result = lcd_selftest_fsensor();
|
|
|
- }
|
|
|
+ if (mmu_enabled == false)
|
|
|
+ {
|
|
|
+ if (_result)
|
|
|
+ {
|
|
|
+ _progress = lcd_selftest_screen(9, _progress, 3, true, 2000);
|
|
|
+ _result = lcd_selftest_fsensor();
|
|
|
+ }
|
|
|
+ if (_result)
|
|
|
+ {
|
|
|
+ _progress = lcd_selftest_screen(10, _progress, 3, true, 2000);
|
|
|
+ }
|
|
|
+ }
|
|
|
#endif
|
|
|
- }
|
|
|
+
|
|
|
if (_result)
|
|
|
{
|
|
|
-#ifdef FILAMENT_SENSOR
|
|
|
- if (mmu_enabled == false)
|
|
|
- {
|
|
|
- _progress = lcd_selftest_screen(10, _progress, 3, true, 2000);
|
|
|
- }
|
|
|
-#endif
|
|
|
_progress = lcd_selftest_screen(11, _progress, 3, true, 5000);
|
|
|
}
|
|
|
else
|