new farm statuses for pause (14) and wait for user (15)

This commit is contained in:
PavelSindler 2019-03-05 16:00:50 +01:00
parent 27f69bb761
commit f1031d2302

View File

@ -4080,7 +4080,25 @@ void prusa_statistics(int _message, uint8_t _fil_nr) {
{
case 0: // default message
if (IS_SD_PRINTING)
if (busy_state == PAUSED_FOR_USER)
{
SERIAL_ECHO("{");
prusa_stat_printerstatus(15);
prusa_stat_farm_number();
prusa_stat_printinfo();
SERIAL_ECHOLN("}");
status_number = 15;
}
else if (isPrintPaused || card.paused)
{
SERIAL_ECHO("{");
prusa_stat_printerstatus(14);
prusa_stat_farm_number();
prusa_stat_printinfo();
SERIAL_ECHOLN("}");
status_number = 14;
}
else if (IS_SD_PRINTING)
{
SERIAL_ECHO("{");
prusa_stat_printerstatus(4);