selftest fixed
This commit is contained in:
parent
7889305702
commit
0514306bed
|
|
@ -13,7 +13,7 @@
|
||||||
// The firmware should only be checked into github with this symbol.
|
// The firmware should only be checked into github with this symbol.
|
||||||
#define FW_DEV_VERSION FW_VERSION_UNKNOWN
|
#define FW_DEV_VERSION FW_VERSION_UNKNOWN
|
||||||
#define FW_REPOSITORY "Unknown"
|
#define FW_REPOSITORY "Unknown"
|
||||||
#define FW_VERSION_FULL FW_VERSION "-" STR(FW_COMMIT_NR)
|
#define FW_VERSION_FULL FW_VERSION "-" STR(FW_COMMIT_NR) "a"
|
||||||
|
|
||||||
// Debug version has debugging enabled (the symbol DEBUG_BUILD is set).
|
// Debug version has debugging enabled (the symbol DEBUG_BUILD is set).
|
||||||
// The debug build may be a bit slower than the non-debug build, therefore the debug build should
|
// The debug build may be a bit slower than the non-debug build, therefore the debug build should
|
||||||
|
|
|
||||||
|
|
@ -6456,20 +6456,20 @@ bool lcd_selftest()
|
||||||
|
|
||||||
if (mmu_enabled)
|
if (mmu_enabled)
|
||||||
{
|
{
|
||||||
_progress = lcd_selftest_screen(9, _progress, 3, true, 2000); //check filaments sensor
|
_progress = lcd_selftest_screen(testScreen::fsensor, _progress, 3, true, 2000); //check filaments sensor
|
||||||
_result = selftest_irsensor();
|
_result = selftest_irsensor();
|
||||||
if (_result)
|
if (_result)
|
||||||
{
|
{
|
||||||
_progress = lcd_selftest_screen(10, _progress, 3, true, 2000); //fil sensor OK
|
_progress = lcd_selftest_screen(testScreen::fsensorOk, _progress, 3, true, 2000); //fil sensor OK
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
#ifdef PAT9125
|
#ifdef PAT9125
|
||||||
_progress = lcd_selftest_screen(9, _progress, 3, true, 2000); //check filaments sensor
|
_progress = lcd_selftest_screen(testScreen::fsensor, _progress, 3, true, 2000); //check filaments sensor
|
||||||
_result = lcd_selftest_fsensor();
|
_result = lcd_selftest_fsensor();
|
||||||
if (_result)
|
if (_result)
|
||||||
{
|
{
|
||||||
_progress = lcd_selftest_screen(10, _progress, 3, true, 2000); //fil sensor OK
|
_progress = lcd_selftest_screen(testScreen::fsensorOk, _progress, 3, true, 2000); //fil sensor OK
|
||||||
}
|
}
|
||||||
#endif //PAT9125
|
#endif //PAT9125
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue