Merge pull request #836 from PavelSindler/M27_update
M27 hotfix: don't return "Not SD printing" in case that SD card print is paused
This commit is contained in:
commit
8b5e7122ff
2 changed files with 5 additions and 2 deletions
|
@ -357,7 +357,7 @@ extern uint8_t print_percent_done_silent;
|
||||||
extern uint16_t print_time_remaining_silent;
|
extern uint16_t print_time_remaining_silent;
|
||||||
#define PRINT_TIME_REMAINING_INIT 65535
|
#define PRINT_TIME_REMAINING_INIT 65535
|
||||||
#define PRINT_PERCENT_DONE_INIT 255
|
#define PRINT_PERCENT_DONE_INIT 255
|
||||||
#define PRINTER_ACTIVE (IS_SD_PRINTING || is_usb_printing || isPrintPaused || (custom_message_type == 4) || saved_printing || (lcd_commands_type == LCD_COMMAND_V2_CAL))
|
#define PRINTER_ACTIVE (IS_SD_PRINTING || is_usb_printing || isPrintPaused || (custom_message_type == 4) || saved_printing || (lcd_commands_type == LCD_COMMAND_V2_CAL) || card.paused)
|
||||||
|
|
||||||
extern void calculate_extruder_multipliers();
|
extern void calculate_extruder_multipliers();
|
||||||
|
|
||||||
|
|
|
@ -523,8 +523,11 @@ void CardReader::getStatus()
|
||||||
SERIAL_PROTOCOL(itostr2(time%60));
|
SERIAL_PROTOCOL(itostr2(time%60));
|
||||||
SERIAL_PROTOCOLPGM("\n");
|
SERIAL_PROTOCOLPGM("\n");
|
||||||
}
|
}
|
||||||
|
else if (paused) {
|
||||||
|
SERIAL_PROTOCOLLNPGM("SD print paused");
|
||||||
|
}
|
||||||
else if (saved_printing) {
|
else if (saved_printing) {
|
||||||
SERIAL_PROTOCOLLNPGM("Print saved");
|
SERIAL_PROTOCOLLNPGM("Print saved");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
SERIAL_PROTOCOLLNPGM("Not SD printing");
|
SERIAL_PROTOCOLLNPGM("Not SD printing");
|
||||||
|
|
Loading…
Reference in a new issue