Remove PAT9125 stats as these aren't different to IR stats
This commit is contained in:
parent
2ba863d8a5
commit
3f6b05cc35
|
|
@ -1260,18 +1260,6 @@ static void lcd_menu_fails_stats_total()
|
|||
//! | Crash X 000 Y 000| MSG_CRASH c=7
|
||||
//! ----------------------
|
||||
//! @endcode
|
||||
//! @brief Show Last Print Failures Statistics with PAT9125
|
||||
//!
|
||||
//! @code{.unparsed}
|
||||
//! |01234567890123456789|
|
||||
//! |Last print failures | MSG_LAST_PRINT_FAILURES c=20
|
||||
//! | Power failures 000| MSG_POWER_FAILURES c=15
|
||||
//! | Runouts H 000 S 000| MSG_RUNOUTS c=7
|
||||
//! | Crash X:000 Y:000| MSG_CRASH c=7
|
||||
//! ----------------------
|
||||
//! @endcode
|
||||
|
||||
//! @todo Positioning of the messages and values on LCD aren't fixed to their exact place. This causes issues with translations.
|
||||
//! @todo leptun refactor this piece of code please
|
||||
static void lcd_menu_fails_stats_print()
|
||||
{
|
||||
|
|
@ -1281,25 +1269,11 @@ static void lcd_menu_fails_stats_print()
|
|||
uint8_t crashX = eeprom_read_byte((uint8_t*)EEPROM_CRASH_COUNT_X);
|
||||
uint8_t crashY = eeprom_read_byte((uint8_t*)EEPROM_CRASH_COUNT_Y);
|
||||
lcd_home();
|
||||
#if FILAMENT_SENSOR_TYPE == FSENSOR_PAT9125
|
||||
// On the MK3 include detailed PAT9125 statistics about soft failures
|
||||
lcd_printf_P(PSTR("%S\n"
|
||||
" %-16.16S%-3d\n"
|
||||
" %-7.7S: %-3d\n"
|
||||
" %-7.7S X %-3d Y %-3d"),
|
||||
_T(MSG_LAST_PRINT_FAILURES),
|
||||
_T(MSG_POWER_FAILURES), power,
|
||||
_i("Runouts"), filam, //MSG_RUNOUTS c=7
|
||||
_T(MSG_CRASH), crashX, crashY);
|
||||
#elif (FILAMENT_SENSOR_TYPE == FSENSOR_IR) || (FILAMENT_SENSOR_TYPE == FSENSOR_IR_ANALOG)
|
||||
lcd_printf_P(failStatsFmt,
|
||||
_T(MSG_LAST_PRINT_FAILURES),
|
||||
_T(MSG_POWER_FAILURES), power,
|
||||
_T(MSG_FIL_RUNOUTS), filam,
|
||||
_T(MSG_CRASH), crashX, crashY);
|
||||
#else
|
||||
#error This menu should have a filament sensor defined
|
||||
#endif
|
||||
menu_back_if_clicked_fb();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue