Browse Source

Fix Anycubic Chiron TFT SD menu (#21183)

vanilla_fb_2.0.x
Nick 3 years ago
committed by GitHub
parent
commit
73e354b7a0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Marlin/src/lcd/extui/lib/anycubic_chiron/FileNavigator.cpp
  2. 4
      Marlin/src/lcd/extui/lib/anycubic_chiron/chiron_tft.cpp

2
Marlin/src/lcd/extui/lib/anycubic_chiron/FileNavigator.cpp

@ -114,7 +114,7 @@ namespace Anycubic {
}
else {
// Logical Name
TFTSer.print("/");
TFTSer.write('/');
if (folderdepth > 0) TFTSer.print(currentfoldername);
TFTSer.println(filelist.shortFilename());

4
Marlin/src/lcd/extui/lib/anycubic_chiron/chiron_tft.cpp

@ -578,8 +578,8 @@ namespace Anycubic {
case 15: // A15 Resuming from outage
if (printer_state == AC_printer_resuming_from_power_outage) {
// Need to home here to restore the Z position
injectCommands(AC_cmnd_power_loss_recovery);
injectCommands("M1000"); // home and start recovery
injectCommands_P(AC_cmnd_power_loss_recovery);
injectCommands_P(PSTR("M1000")); // home and start recovery
}
break;

Loading…
Cancel
Save